summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2007-12-14 22:20:10 +0000
committerobrien <obrien@FreeBSD.org>2007-12-14 22:20:10 +0000
commit3da8d31817e0a8bd48a8a5926d557e9f24718803 (patch)
tree8974de9fd42f20d237f3fbadf0b6658ae68a6f0f
parentda17d8d478e425571e19e0cae267a39bead9ad1c (diff)
downloadFreeBSD-src-3da8d31817e0a8bd48a8a5926d557e9f24718803.zip
FreeBSD-src-3da8d31817e0a8bd48a8a5926d557e9f24718803.tar.gz
Add comment to pc_cp_time.
-rw-r--r--sys/sys/pcpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/pcpu.h b/sys/sys/pcpu.h
index 168bf72..a129997 100644
--- a/sys/sys/pcpu.h
+++ b/sys/sys/pcpu.h
@@ -70,7 +70,7 @@ struct pcpu {
struct thread *pc_fpcurthread; /* Fp state owner */
struct thread *pc_deadthread; /* Zombie thread or NULL */
struct pcb *pc_curpcb; /* Current pcb */
- uint64_t pc_switchtime;
+ uint64_t pc_switchtime;
int pc_switchticks;
u_int pc_cpuid; /* This cpu number */
cpumask_t pc_cpumask; /* This cpu mask */
@@ -83,7 +83,7 @@ struct pcpu {
#endif
PCPU_MD_FIELDS;
struct vmmeter pc_cnt; /* VM stats counters */
- long pc_cp_time[CPUSTATES];
+ long pc_cp_time[CPUSTATES]; /* statclock ticks */
struct device *pc_device;
/*
OpenPOWER on IntegriCloud