/freebsd/usr.sbin/ppp/ |
H A D | throughput.c | 61 t->uptime = 0; in throughput_init() 87 if (t->uptime && downat < t->uptime) { in throughput_uptime() 94 t->uptime = downat; in throughput_uptime() 96 return t->uptime ? downat - t->uptime : 0; in throughput_uptime() 136 if (t->uptime) { in throughput_log() 164 int uptime, divisor; in throughput_sampler() local 169 uptime = throughput_uptime(t); in throughput_sampler() 170 divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod; in throughput_sampler() 189 if (t->callback.fn != NULL && uptime >= t->SamplePeriod) in throughput_sampler() 208 time(&t->uptime); in throughput_start() [all …]
|
H A D | throughput.h | 37 time_t uptime, downtime; member
|
/freebsd/contrib/jemalloc/src/ |
H A D | stats.c | 140 uint64_t uptime) { in mutex_stats_read_global() argument 157 dst->counter_type##_val = rate_per_second(base->counter_type##_val, uptime); \ in mutex_stats_read_global() 170 uint64_t uptime) { in mutex_stats_read_arena() argument 187 dst->counter_type##_val = rate_per_second(base->counter_type##_val, uptime); \ in mutex_stats_read_arena() 199 uint64_t uptime) { in mutex_stats_read_arena_bin() argument 215 dst->counter_type##_val = rate_per_second(base->counter_type##_val, uptime); \ in mutex_stats_read_arena_bin() 270 stats_arena_bins_print(emitter_t *emitter, bool mutex, unsigned i, uint64_t uptime) { in stats_arena_bins_print() argument 382 col_mutex32, uptime); in stats_arena_bins_print() 435 col_nmalloc_ps.uint64_val = rate_per_second(nmalloc, uptime); in stats_arena_bins_print() 437 col_ndalloc_ps.uint64_val = rate_per_second(ndalloc, uptime); in stats_arena_bins_print() [all …]
|
/freebsd/usr.bin/w/ |
H A D | Makefile | 3 MAN= w.1 uptime.1 5 LINKS= ${BINDIR}/w ${BINDIR}/uptime
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_scalars.c | 74 uint64_t uptime; in OS_getSystemUptime() local 82 uptime = ts.tv_sec * 100 + ts.tv_nsec / 1000000; in OS_getSystemUptime() 83 if (uptime > UINT32_MAX) in OS_getSystemUptime() 86 *ut = (uint32_t)uptime; in OS_getSystemUptime()
|
/freebsd/usr.bin/top/ |
H A D | display.c | 1295 time_t uptime; in i_uptime() local 1299 uptime = *tod - bt->tv_sec; in i_uptime() 1300 days = uptime / 86400; in i_uptime() 1301 uptime %= 86400; in i_uptime() 1302 hrs = uptime / 3600; in i_uptime() 1303 uptime %= 3600; in i_uptime() 1304 mins = uptime / 60; in i_uptime() 1305 secs = uptime % 60; in i_uptime()
|
/freebsd/sys/kern/ |
H A D | sys_timerfd.c | 397 struct timespec uptime; in timerfd_expire() local 403 nanouptime(&uptime); in timerfd_expire() 404 if (timespeccmp(&uptime, &tfd->tfd_time.it_value, >)) { in timerfd_expire() 405 timespecsub(&uptime, &tfd->tfd_time.it_value, &uptime); in timerfd_expire() 406 tfd->tfd_count += tstosbt(uptime) / in timerfd_expire()
|
/freebsd/sys/dev/xen/timer/ |
H A D | xen_timer.c | 206 uint64_t uptime; in xen_fetch_uptime() local 208 uptime = xen_fetch_vcpu_time(DPCPU_GET(vcpu_info)); in xen_fetch_uptime() 210 ts->tv_sec = uptime / NSEC_IN_SEC; in xen_fetch_uptime() 211 ts->tv_nsec = uptime % NSEC_IN_SEC; in xen_fetch_uptime()
|
/freebsd/usr.bin/vmstat/ |
H A D | vmstat.c | 644 time_t uptime, halfuptime; in dovmstat() local 647 uptime = getuptime() / 1000000000LL; in dovmstat() 648 halfuptime = uptime / 2; in dovmstat() 762 #define rate(x) (unsigned long)(((x) * rate_adj + halfuptime) / uptime) in dovmstat() 805 uptime = interval; in dovmstat() 812 halfuptime = (uptime + 1) / 2; in dovmstat() 1255 long long period_ms, old_uptime, uptime; in dointr() local 1261 uptime = getuptime(); in dointr() 1301 period_ms = uptime / 1000000; in dointr() 1324 old_uptime = uptime; in dointr() [all …]
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 430.status-uptime | 24 prog=uptime
|
H A D | Makefile | 23 430.status-uptime \
|
/freebsd/tools/bsdbox/ |
H A D | Makefile.base | 11 CRUNCH_ALIAS_w= uptime
|
/freebsd/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmu_subr.c | 82 uint32_t *uptime); 352 uint32_t uptime; in bhnd_pmu_fast_pwrup_delay() local 371 &uptime); in bhnd_pmu_fast_pwrup_delay() 376 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() 383 &uptime); in bhnd_pmu_fast_pwrup_delay() 388 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() 399 &uptime); in bhnd_pmu_fast_pwrup_delay() 404 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() 411 &uptime); in bhnd_pmu_fast_pwrup_delay() 416 delay = (uptime + D11SCC_SLOW2FAST_TRANSITION) * in bhnd_pmu_fast_pwrup_delay() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-sflow.c | 62 nd_uint32_t uptime; member 72 nd_uint32_t uptime; member 872 GET_BE_U_4(sflow_datagram->uptime), in sflow_print() 888 GET_BE_U_4(sflow_v6_datagram->uptime), in sflow_print()
|
/freebsd/usr.bin/netstat/ |
H A D | route.c | 93 static struct timespec uptime; variable 132 if (clock_gettime(CLOCK_UPTIME, &uptime) < 0) in routepr() 357 if ((expire_time = rtm->rtm_rmx.rmx_expire - uptime.tv_sec) > 0) in p_rtentry_sysctl()
|
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | qemu-5-setup.sh | 98 uptime
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | vendstat.c | 71 uint32_t uptime; member 490 printf("hw_uptime: 0x%08x\n", ntohl(gi_is3->hw_info.uptime)); in main()
|
H A D | ibmirror.c | 89 uint32_t uptime; member
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | snmpd.h | 301 u_int32_t uptime; member
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | arena_stats.h | 127 nstime_t uptime; member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MinidumpConstants.def | 73 HANDLE_MDMP_STREAM_TYPE(0x4767000C, LinuxProcUptime) // uptime
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_norm.c | 1527 struct timeval uptime; in pf_normalize_tcp_stateful() local 1662 getmicrouptime(&uptime); in pf_normalize_tcp_stateful() 1664 (uptime.tv_sec - src->scrub->pfss_last.tv_sec > TS_MAX_IDLE || in pf_normalize_tcp_stateful() 1675 uptime.tv_sec - dst->scrub->pfss_last.tv_sec > TS_MAX_IDLE) { in pf_normalize_tcp_stateful() 1764 delta_ts = uptime; in pf_normalize_tcp_stateful()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl.cpp | 431 void MemoryProfiler(u64 uptime) { in MemoryProfiler() argument 435 WriteMemoryProfile(buf.data(), buf.size(), uptime); in MemoryProfiler()
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | layout.std | 438 offsetof(uptime) = 108
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_request.h | 926 int32 uptime; /* number of seconds this interface was active */ member
|