| /freebsd-12-stable/usr.sbin/ppp/ |
| D | throughput.c | 63 t->uptime = 0; in throughput_init() 89 if (t->uptime && downat < t->uptime) { in throughput_uptime() 96 t->uptime = downat; in throughput_uptime() 98 return t->uptime ? downat - t->uptime : 0; in throughput_uptime() 138 if (t->uptime) { in throughput_log() 166 int uptime, divisor; in throughput_sampler() local 171 uptime = throughput_uptime(t); in throughput_sampler() 172 divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod; in throughput_sampler() 191 if (t->callback.fn != NULL && uptime >= t->SamplePeriod) in throughput_sampler() 210 time(&t->uptime); in throughput_start() [all …]
|
| D | throughput.h | 39 time_t uptime, downtime; member
|
| /freebsd-12-stable/usr.bin/w/ |
| D | w.c | 483 time_t uptime; in pr_header() local 500 uptime = tp.tv_sec; in pr_header() 501 if (uptime > 60) in pr_header() 502 uptime += 30; in pr_header() 503 days = uptime / 86400; in pr_header() 504 uptime %= 86400; in pr_header() 505 hrs = uptime / 3600; in pr_header() 506 uptime %= 3600; in pr_header() 507 mins = uptime / 60; in pr_header() 508 secs = uptime % 60; in pr_header()
|
| D | Makefile | 6 MAN= w.1 uptime.1 8 LINKS= ${BINDIR}/w ${BINDIR}/uptime
|
| /freebsd-12-stable/release/picobsd/tinyware/vm/ |
| D | vm.c | 46 long uptime=1; in vm_i() local 67 printf("%-12s %20lu %10lu\n", namep[i], cnt[i], cnt[i]/uptime); in vm_i() 71 inttotal / (u_int64_t) uptime); in vm_i()
|
| /freebsd-12-stable/usr.bin/top/ |
| D | display.c | 1322 time_t uptime; in i_uptime() local 1326 uptime = *tod - bt->tv_sec; in i_uptime() 1327 days = uptime / 86400; in i_uptime() 1328 uptime %= 86400; in i_uptime() 1329 hrs = uptime / 3600; in i_uptime() 1330 uptime %= 3600; in i_uptime() 1331 mins = uptime / 60; in i_uptime() 1332 secs = uptime % 60; in i_uptime()
|
| /freebsd-12-stable/sys/dev/xen/timer/ |
| D | timer.c | 211 uint64_t uptime; in xen_fetch_uptime() local 213 uptime = xen_fetch_vcpu_time(DPCPU_GET(vcpu_info)); in xen_fetch_uptime() 215 ts->tv_sec = uptime / NSEC_IN_SEC; in xen_fetch_uptime() 216 ts->tv_nsec = uptime % NSEC_IN_SEC; in xen_fetch_uptime()
|
| /freebsd-12-stable/usr.bin/vmstat/ |
| D | vmstat.c | 673 time_t uptime, halfuptime; in dovmstat() local 676 uptime = getuptime() / 1000000000LL; in dovmstat() 677 halfuptime = uptime / 2; in dovmstat() 793 #define rate(x) (((x) * rate_adj + halfuptime) / uptime) /* round */ in dovmstat() 849 uptime = interval; in dovmstat() 856 halfuptime = (uptime + 1) / 2; in dovmstat() 1315 long long period_ms, old_uptime, uptime; in dointr() local 1321 uptime = getuptime(); in dointr() 1361 period_ms = uptime / 1000000; in dointr() 1383 old_uptime = uptime; in dointr() [all …]
|
| /freebsd-12-stable/usr.sbin/periodic/etc/daily/ |
| D | 430.status-uptime | 25 prog=uptime
|
| D | Makefile | 24 430.status-uptime \
|
| /freebsd-12-stable/sys/dev/bhnd/cores/pmu/ |
| D | bhnd_pmu_subr.c | 85 uint32_t *uptime); 355 uint32_t uptime; in bhnd_pmu_fast_pwrup_delay() local 374 &uptime); in bhnd_pmu_fast_pwrup_delay() 379 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() 386 &uptime); in bhnd_pmu_fast_pwrup_delay() 391 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() 402 &uptime); in bhnd_pmu_fast_pwrup_delay() 407 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() 414 &uptime); in bhnd_pmu_fast_pwrup_delay() 419 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() [all …]
|
| /freebsd-12-stable/tools/bsdbox/ |
| D | Makefile.base | 12 CRUNCH_ALIAS_w= uptime
|
| /freebsd-12-stable/usr.bin/netstat/ |
| D | route.c | 107 static struct timespec uptime; variable 149 if (clock_gettime(CLOCK_UPTIME, &uptime) < 0) in routepr() 404 if ((expire_time = rtm->rtm_rmx.rmx_expire - uptime.tv_sec) > 0) in p_rtentry_sysctl()
|
| /freebsd-12-stable/contrib/ofed/infiniband-diags/src/ |
| D | vendstat.c | 71 uint32_t uptime; member 490 printf("hw_uptime: 0x%08x\n", ntohl(gi_is3->hw_info.uptime)); in main()
|
| /freebsd-12-stable/contrib/bsnmp/snmpd/ |
| D | snmpd.h | 301 u_int32_t uptime; member
|
| /freebsd-12-stable/contrib/jemalloc/include/jemalloc/internal/ |
| D | arena_stats.h | 94 nstime_t uptime; member
|
| /freebsd-12-stable/contrib/apr-util/include/ |
| D | apr_memcache.h | 385 apr_uint32_t uptime; member
|
| /freebsd-12-stable/sys/netpfil/pf/ |
| D | pf_norm.c | 1568 struct timeval uptime; in pf_normalize_tcp_stateful() local 1704 getmicrouptime(&uptime); in pf_normalize_tcp_stateful() 1706 (uptime.tv_sec - src->scrub->pfss_last.tv_sec > TS_MAX_IDLE || in pf_normalize_tcp_stateful() 1717 uptime.tv_sec - dst->scrub->pfss_last.tv_sec > TS_MAX_IDLE) { in pf_normalize_tcp_stateful() 1807 delta_ts = uptime; in pf_normalize_tcp_stateful()
|
| /freebsd-12-stable/tools/tools/tinybsd/conf/minimal/ |
| D | tinybsd.basefiles | 138 usr/bin/uptime:usr/bin/w
|
| /freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| D | MinidumpConstants.def | 73 HANDLE_MDMP_STREAM_TYPE(0x4767000C, LinuxProcUptime) // uptime
|
| /freebsd-12-stable/contrib/tcpdump/ |
| D | print-sflow.c | 63 uint8_t uptime[4]; member 921 EXTRACT_32BITS(sflow_datagram->uptime), in sflow_print()
|
| /freebsd-12-stable/contrib/jemalloc/src/ |
| D | stats.c | 537 uint64_t uptime; in stats_arena_print() local 545 CTL_M2_GET("stats.arenas.0.uptime", i, &uptime, uint64_t); in stats_arena_print() 547 &uptime); in stats_arena_print()
|
| /freebsd-12-stable/tools/tools/tinybsd/conf/vpn/ |
| D | tinybsd.basefiles | 176 usr/bin/uptime:usr/bin/w
|
| /freebsd-12-stable/tools/tools/tinybsd/conf/wrap/ |
| D | tinybsd.basefiles | 180 usr/bin/uptime:usr/bin/w
|
| /freebsd-12-stable/tools/tools/tinybsd/conf/bridge/ |
| D | tinybsd.basefiles | 179 usr/bin/uptime:usr/bin/w
|