Searched refs:tdiff (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | threads.c | 509 k5_debug_timediff_t tdiff, tdiff2; in k5_mutex_lock_update_stats() local 515 tdiff = timediff(now, startwait); in k5_mutex_lock_update_stats() 516 tdiff2 = tdiff * tdiff; in k5_mutex_lock_update_stats() 517 if (m->count == 1 || m->lockwait.valmin > tdiff) in k5_mutex_lock_update_stats() 518 m->lockwait.valmin = tdiff; in k5_mutex_lock_update_stats() 519 if (m->count == 1 || m->lockwait.valmax < tdiff) in k5_mutex_lock_update_stats() 520 m->lockwait.valmax = tdiff; in k5_mutex_lock_update_stats() 521 m->lockwait.valsum += tdiff; in k5_mutex_lock_update_stats() 529 k5_debug_timediff_t tdiff, tdiff2; in krb5int_mutex_unlock_update_stats() local 530 tdiff = timediff(now, m->time_acquired); in krb5int_mutex_unlock_update_stats() [all …]
|
/titanic_41/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh | 68 float tstart tstop tdiff 77 (( tdiff=tstop-tstart )) 78 (( tdiff < (10.-2.) )) || err_exit "test run needed ${tdiff} seconds to complete (instead of < 8.)"
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.time.c | 25 void tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0); 250 tvsub(struct timeval *tdiff, struct timeval *t1, struct timeval *t0) in tvsub() argument 256 tdiff->tv_sec = t1->tv_sec - t0->tv_sec; in tvsub() 257 tdiff->tv_usec = t1->tv_usec - t0->tv_usec; in tvsub() 258 if (tdiff->tv_usec < 0) { in tvsub() 259 tdiff->tv_sec--; in tvsub() 260 tdiff->tv_usec += 1000000; in tvsub()
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_client.c | 575 time_t tdiff; in ndr_srvsvc_timecheck() local 586 tdiff = (tnow - dc_tv.tv_sec) / SECSPERMIN; in ndr_srvsvc_timecheck() 588 tdiff = (dc_tv.tv_sec - tnow) / SECSPERMIN; in ndr_srvsvc_timecheck() 590 if (tdiff != 0) { in ndr_srvsvc_timecheck() 594 priority = (tdiff > 2) ? LOG_NOTICE : LOG_DEBUG; in ndr_srvsvc_timecheck() 596 server, tdiff); in ndr_srvsvc_timecheck()
|
/titanic_41/usr/src/cmd/sa/ |
H A D | sar.c | 94 static float tdiff, sec_diff, totsec_diff = 0.0, percent; variable 541 tdiff = (float)(te - ts); in prpass() 542 sec_diff = tdiff / hz; in prpass() 543 percent = 100.0 / tdiff; in prpass() 553 if (tdiff <= 0) { in prpass() 1109 tdiff = ax.csi.cpu[0] + ax.csi.cpu[1] + ax.csi.cpu[2] + ax.csi.cpu[3]; in prtavg() 1110 if (tdiff <= 0.0) in prtavg() 1113 sec_diff = tdiff / hz; in prtavg() 1114 percent = 100.0 / tdiff; in prtavg()
|
/titanic_41/usr/src/lib/krb5/kdb/ |
H A D | kdb_log.c | 714 uint_t indx, count, tdiff; in ulog_get_entries() local 735 tdiff = timestamp.tv_sec - ulog->kdb_last_time.seconds; in ulog_get_entries() 736 if (tdiff <= ULOG_IDLE_TIME) { in ulog_get_entries()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | sunpm.c | 6598 time_t now, service_seconds, tdiff; in pm_trans_check() local 6709 tdiff = now - service_seconds; in pm_trans_check() 6710 PMD(PMD_TCHECK, ("%s: age is %ld sec\n", pmf, tdiff)) in pm_trans_check() 6716 full_years = (tdiff / DC_SPY); in pm_trans_check() 6738 within_year = (tdiff % DC_SPY); in pm_trans_check()
|