/freebsd-11-stable/contrib/tcsh/ |
H A D | tc.sched.c | 62 time_t cur_time; local 150 (void) time(&cur_time); 151 ltp = localtime(&cur_time); 167 tp->t_when = cur_time - ltp->tm_sec + dif_hour * 3600 + dif_min * 60; 169 tp->t_when = cur_time - ltp->tm_sec + dif_hour * 3600L + dif_min * 60L; 186 time_t cur_time; local 195 (void) time(&cur_time); 203 if (!(sched_ptr && sched_ptr->t_when < cur_time)) { 211 while ((tp = sched_ptr) != NULL && tp->t_when < cur_time) {
|
/freebsd-11-stable/sbin/dhclient/ |
H A D | dhclient.c | 87 time_t cur_time; variable 423 time(&cur_time); 601 ip->client->first_sending = cur_time; 628 ip->client->first_sending = cur_time; 698 ip->client->new->expiry = cur_time + 12000; 699 ip->client->new->renewal += cur_time + 8000; 700 ip->client->new->rebind += cur_time + 10000; 712 ip->client->first_sending = cur_time; 774 the addition of cur_time below does not overflow (a 32 bit) time_t. */ 776 ip->client->new->expiry > TIME_MAX - cur_time) [all...] |
H A D | dispatch.c | 187 if (timeouts->when <= cur_time) { 202 howlong = timeouts->when - cur_time; 232 time(&cur_time); 239 time(&cur_time);
|
H A D | dhcpd.h | 358 extern time_t cur_time;
|
H A D | clparse.c | 587 if (ip->client->active->expiry < cur_time)
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | timestamp.c | 467 const struct tm *restrict cur_time; local 471 cur_time = gmtime(&time_var); 473 cur_time = localtime(&time_var); 477 cur_time);
|
/freebsd-11-stable/sys/net/altq/ |
H A D | altq_fairq.c | 544 uint64_t cur_time = read_machclk(); local 556 m = fairq_getq(best_cl, cur_time); 572 m = fairq_pollq(cl, cur_time, &hit_limit); 599 m = fairq_getq(best_cl, cur_time); 684 fairq_getq(struct fairq_class *cl, uint64_t cur_time) argument 716 delta = (cur_time - cl->cl_last_time); 721 cl->cl_last_time = cur_time; 728 delta = (cur_time - b->last_time); 733 b->last_time = cur_time; 746 fairq_pollq(struct fairq_class *cl, uint64_t cur_time, in argument [all...] |
H A D | altq_hfsc.c | 748 u_int64_t cur_time; local 756 cur_time = read_machclk(); 764 realtime = (cl->cl_e <= cur_time); 771 if ((cl = hfsc_get_mindl(hif, cur_time)) 785 cl = actlist_firstfit(cl, cur_time); 820 update_vf(cl, len, cur_time); 942 u_int64_t cur_time; local 944 cur_time = read_machclk(); 947 rtsc_min(&cl->cl_deadline, cl->cl_rsc, cur_time, cl->cl_cumul); 986 u_int64_t vt, f, cur_time; local 1074 update_vf(struct hfsc_class *cl, int len, u_int64_t cur_time) argument 1258 hfsc_get_mindl(struct hfsc_if *hif, u_int64_t cur_time) argument 1342 actlist_firstfit(struct hfsc_class *cl, u_int64_t cur_time) argument 1762 u_int64_t cur_time; local [all...] |
H A D | altq_hfsc.h | 94 u_int64_t cur_time; member in struct:hfsc_classstats 162 u_int64_t cur_time; /* current time */ member in struct:hfsc_class_stats
|
/freebsd-11-stable/lib/libdevstat/ |
H A D | devstat.h | 171 long double devstat_compute_etime(struct bintime *cur_time,
|
H A D | devstat.c | 1203 devstat_compute_etime(struct bintime *cur_time, struct bintime *prev_time) argument 1207 etime = cur_time->sec; 1208 etime += cur_time->frac * BINTIME_SCALE;
|
/freebsd-11-stable/usr.bin/ctlstat/ |
H A D | ctlstat.c | 121 struct timespec cur_time, prev_time; member in struct:ctlstat_context 138 struct ctl_io_stats **xstats, struct timespec *cur_time, int *time_valid); 157 struct timespec *cur_time, int *flags) 199 cur_time->tv_sec = get_stats.timestamp.tv_sec; 200 cur_time->tv_nsec = get_stats.timestamp.tv_nsec; 396 etime = ctx->cur_time.tv_sec - ctx->prev_time.tv_sec + 397 (ctx->prev_time.tv_nsec - ctx->cur_time.tv_nsec) * 1e-9; 699 ctx.prev_time = ctx.cur_time; 702 &ctx.cur_stats, &ctx.cur_time, &ctx.flags) != 0) 156 getstats(int fd, int *alloc_items, int *num_items, struct ctl_io_stats **stats, struct timespec *cur_time, int *flags) argument
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_barrier.cpp | 1457 kmp_uint64 cur_time = __itt_get_timestamp(); local 1463 __kmp_itt_frame_submit(gtid, this_thr->th.th_frame_time, cur_time, 0, 1465 this_thr->th.th_frame_time = cur_time; 1469 __kmp_itt_frame_submit(gtid, this_thr->th.th_bar_min_time, cur_time, 1475 kmp_uint64 delta = cur_time - this_thr->th.th_bar_arrive_time; 1480 delta += (cur_time - other_threads[i]->th.th_bar_arrive_time); 1484 cur_time, delta, 1487 __kmp_itt_frame_submit(gtid, this_thr->th.th_frame_time, cur_time, 0, 1489 this_thr->th.th_frame_time = cur_time; 1842 kmp_uint64 cur_time local [all...] |
H A D | kmp_tasking.cpp | 1529 kmp_uint64 cur_time; local 1537 cur_time = __itt_get_timestamp(); 1556 thread->th.th_bar_arrive_time += (__itt_get_timestamp() - cur_time);
|
/freebsd-11-stable/sys/dev/vxge/ |
H A D | vxge-osdep.h | 191 struct timeval cur_time; \ 192 gettimeofday(&cur_time, 0); \ 194 cur_time.tv_sec, cur_time.tv_usec); \
|
/freebsd-11-stable/sys/dev/twa/ |
H A D | tw_cl_io.c | 603 TW_TIME cur_time; local 608 cur_time = tw_osl_get_local_time(); 614 (cur_time >= ctlr->ioctl_lock.timeout)) { 619 cur_time + (lock_pkt.timeout_msec / 1000); 626 (ctlr->ioctl_lock.timeout - cur_time) * 1000);
|
/freebsd-11-stable/sys/dev/mpr/ |
H A D | mpr.c | 3277 struct timeval cur_time, start_time; local 3306 getmicrouptime(&cur_time); 3307 timevalsub(&cur_time, &start_time); 3317 getmicrouptime(&cur_time); 3318 timevalsub(&cur_time, &start_time); 3319 if (cur_time.tv_sec > timeout) { 3329 (intmax_t)cur_time.tv_sec); 3353 struct timeval cur_time, start_time; local 3375 getmicrouptime(&cur_time); 3376 timevalsub(&cur_time, [all...] |
H A D | mpr_sas_lsi.c | 1473 struct timeval cur_time, start_time; local 1549 getmicrotime(&cur_time); 1550 if ((cur_time.tv_sec - start_time.tv_sec) > 60) {
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntpd.c | 1602 time_t cur_time; local 1617 cur_time = time(NULL); 1618 wait_rem = (wait_end_time > cur_time) 1619 ? (wait_end_time - cur_time)
|
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_perfmgr_db.c | 123 time_t cur_time = 0; local 135 cur_time = time(NULL); 137 rc->ports[i].last_reset = cur_time; 138 rc->ports[i].err_previous.time = cur_time; 139 rc->ports[i].dc_previous.time = cur_time;
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | save.c | 553 time_t cur_time = time(NULL); local 554 char * time_str = ctime(&cur_time);
|
/freebsd-11-stable/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 1267 time_t amtslept, cur_time, prev_mtime; local 1307 cur_time = time(NULL); 1308 if (statdf.st_mtime >= cur_time - MINWAIT_4DATA) { 1309 if (statdf.st_mtime >= cur_time) /* some TOD oddity */ 1312 sleepreq = cur_time - statdf.st_mtime;
|
/freebsd-11-stable/sys/dev/mps/ |
H A D | mps.c | 2547 struct timeval cur_time, start_time; local 2575 getmicrouptime(&cur_time); 2576 timevalsub(&cur_time, &start_time); 2586 getmicrouptime(&cur_time); 2587 timevalsub(&cur_time, &start_time); 2588 if (cur_time.tv_sec > timeout) { 2598 (intmax_t)cur_time.tv_sec);
|