Symbol: cputime
bin/ps/extern.h
47
void cputime(const KINFO *, const struct varent *);
bin/ps/keyword.c
187
{"time", "TIME", NULL, USER, cputime, NULL, 9, 0, 0, NULL, NULL},
games/larn/diag.c
13
static struct tms cputime;
games/larn/diag.c
195
times(&cputime); /* get cpu time */
games/larn/diag.c
196
c[CPUTIME] += (cputime.tms_utime + cputime.tms_stime) / 60;
games/larn/scores.c
555
struct tms cputime;
games/larn/scores.c
63
short cputime; /* cpu time needed in seconds */
games/larn/scores.c
638
times(&cputime);/* get CPU time -- write out score info */
games/larn/scores.c
639
logg.cputime = i = (cputime.tms_utime + cputime.tms_stime) / 60 + c[CPUTIME];
games/larn/scores.c
724
lprintf(" CPU time used: %d seconds, Machine usage: %d.%02d%%\n", (long)(logg.cputime), (long)(logg.usage / 100), (long)(logg.usage % 100));
games/larn/scores.c
726
lprintf(" out bytes per move: %d, time per move: %d ms\n", (long)(logg.bytout / logg.moves), (long)((logg.cputime * 1000) / logg.moves));
lib/libkcore/kcore.h
53
#define kinfo_get_sched_cputime(cputime) \
lib/libkcore/kcore.h
54
kcore_get_sched_cputime(NULL, cputime)
lib/libkcore/kcore_sched.c
63
kcore_get_sched_cputime(struct kcore_data *kc, struct kinfo_cputime *cputime)
lib/libkcore/kcore_sched.c
73
_DIAGASSERT(cputime != NULL);
lib/libkcore/kcore_sched.c
92
cputime_pcpu_statistics(percpu, cputime, cpucount);
lib/libkinfo/kinfo.h
70
PCPU_STATISTICS_PROT(cputime, struct kinfo_cputime);
lib/libkinfo/kinfo_pcpu.c
49
PCPU_STATISTICS_FUNC(cputime, struct kinfo_cputime, uint64_t);
lib/libkinfo/kinfo_sched.c
53
kinfo_get_sched_cputime(struct kinfo_cputime *cputime)
lib/libkinfo/kinfo_sched.c
59
_DIAGASSERT(cputime != NULL);
lib/libkinfo/kinfo_sched.c
80
cputime_pcpu_statistics(percpu, cputime, cpucount);
sys/kern/kern_clock.c
173
SYSCTL_PROC(_kern, OID_AUTO, cputime, (CTLTYPE_OPAQUE|CTLFLAG_RD), 0, 0,
usr.bin/locate/locate/locate.c
121
static unsigned long cputime(void);
usr.bin/locate/locate/locate.c
247
t0 = cputime();
usr.bin/locate/locate/locate.c
258
warnx("fastfind %ld ms", cputime () - t0);
usr.bin/locate/locate/locate.c
289
t0 = cputime();
usr.bin/locate/locate/locate.c
296
warnx("fastfind %ld ms", cputime () - t0);
usr.bin/top/m_dragonfly.c
687
long cputime;
usr.bin/top/m_dragonfly.c
738
cputime = (LP(pp, uticks) + LP(pp, sticks) + LP(pp, iticks)) / 1000000;
usr.bin/top/m_dragonfly.c
739
ccputime = cputime + PP(pp, cru).ru_stime.tv_sec + PP(pp, cru).ru_utime.tv_sec;
usr.bin/top/m_dragonfly.c
740
format_time(cputime, cputime_fmt, sizeof(cputime_fmt));