| /illumos-gate/usr/src/uts/common/fs/zfs/ |
| H A D | mmp.c | 208 mmp->mmp_last_write = gethrtime(); in mmp_init() 250 "gethrtime %llu", spa_name(spa), gethrtime()); in mmp_thread_start() 270 spa_name(spa), gethrtime()); in mmp_thread_stop() 359 hrtime_t delay = gethrtime() - mts->mmp_last_write; in mmp_delay_update() 374 mts->mmp_last_write = gethrtime(); in mmp_delay_update() 397 hrtime_t mmp_write_duration = gethrtime() - vd->vdev_mmp_pending; in mmp_write_done() 443 hrtime_t lock_acquire_time = gethrtime(); in mmp_write_uberblock() 445 lock_acquire_time = gethrtime() - lock_acquire_time; in mmp_write_uberblock() 449 gethrtime()); in mmp_write_uberblock() 480 gethrtime(), error); in mmp_write_uberblock() [all …]
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | rwstlock.c | 86 sleep_time = -gethrtime(); in rwst_enter_common() 91 sleep_time += gethrtime(); in rwst_enter_common() 113 sleep_time = -gethrtime(); in rwst_enter_common() 121 sleep_time += gethrtime(); in rwst_enter_common()
|
| H A D | clock_highres.c | 57 hrt2ts(gethrtime(), (timestruc_t *)ts); in clock_highres_gettime() 85 hrtime_t old = *addr, new = gethrtime(); in clock_highres_fire() 165 cyctime.cyt_when += gethrtime(); in clock_highres_timer_settime() 184 cyctime.cyt_when += gethrtime(); in clock_highres_timer_settime() 269 hrtime_t diff, now = gethrtime(); in clock_highres_timer_gettime()
|
| H A D | pool_pset.c | 278 pool_pset_mod = pool_cpu_mod = gethrtime(); in pool_pset_enable() 355 pool_pset_mod = gethrtime(); in pool_pset_create() 384 pool_pset_mod = gethrtime(); in pool_pset_destroy() 565 pool_pset_mod = gethrtime(); in pool_pset_xtransfer() 732 pool_pset_mod = gethrtime(); in pool_pset_propput() 751 pool_pset_mod = gethrtime(); in pool_pset_proprm() 799 pool_cpu_mod = gethrtime(); in pool_cpu_propput() 828 pool_cpu_mod = gethrtime(); in pool_cpu_proprm()
|
| /illumos-gate/usr/src/cmd/raidz_test/ |
| H A D | raidz_bench.c | 94 start = gethrtime(); in run_gen_bench_impl() 97 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_gen_bench_impl() 178 start = gethrtime(); in run_rec_bench_impl() 181 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_rec_bench_impl()
|
| /illumos-gate/usr/src/uts/common/inet/cc/ |
| H A D | cc_cubic.c | 176 nsecs_since_cong = gethrtime() - in cubic_ack_received() 252 cubic_data->t_last_cong = gethrtime(); in cubic_after_idle() 274 cubic_data->t_last_cong = gethrtime(); in cubic_cb_init() 319 cubic_data->t_last_cong = gethrtime(); in cubic_cong_signal() 331 cubic_data->t_last_cong = gethrtime(); in cubic_cong_signal() 404 cubic_data->t_last_cong = gethrtime(); in cubic_post_recovery()
|
| /illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/ |
| H A D | smrt_ciss_simple.c | 26 hrtime_t now = gethrtime(); in smrt_isr_hw_simple() 103 smcm->smcm_time_complete = gethrtime(); in smrt_retrieve_simple() 164 if (smcm->smcm_expiry < gethrtime()) { in smrt_preinit_command_simple() 185 smcm->smcm_time_complete = gethrtime(); in smrt_preinit_command_simple()
|
| /illumos-gate/usr/src/lib/libfakekernel/common/ |
| H A D | clock.c | 46 hrt = gethrtime(); in ddi_get_lbolt() 55 hrt = gethrtime(); in ddi_get_lbolt64() 62 return (gethrtime()); in gethrtime_unscaled()
|
| /illumos-gate/usr/src/uts/common/io/i2c/nexus/ |
| H A D | i2cnex_txn.c | 87 txn->txn_last_change = gethrtime(); in i2c_txn_lock_acquire() 117 next->txn_last_change = gethrtime(); in i2c_txn_lock_wakeup() 148 txn->txn_last_change = gethrtime(); in i2c_txn_lock_signal() 180 txn->txn_last_change = gethrtime(); in i2c_txn_ctrl_unlock() 240 sleep_time = gethrtime(); in i2c_txn_ctrl_lock()
|
| /illumos-gate/usr/src/cmd/cpc/common/ |
| H A D | time.c | 41 timebase = gethrtime(); in zerotime() 50 hrt = gethrtime(); in mstimestamp()
|
| /illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
| H A D | smbfs_node.c | 221 dnp->r_mtime = gethrtime(); in smbfs_attr_touchdir() 237 np->r_attrtime = gethrtime(); in smbfs_attrcache_remove() 247 np->r_attrtime = gethrtime(); in smbfs_attrcache_rm_locked()
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
| H A D | ilb_probe.c | 352 start = gethrtime(); in tcp_query() 357 end = gethrtime(); in tcp_query() 743 return ((uint32_t)gethrtime()); in get_random() 746 num = ((uint32_t)gethrtime()); in get_random() 801 icmph->icmp_id = htons(gethrtime() % USHRT_MAX); in ping_query() 802 icmph->icmp_seq = htons(gethrtime() % USHRT_MAX); in ping_query() 815 start = gethrtime(); in ping_query() 825 end = gethrtime(); in ping_query()
|
| /illumos-gate/usr/src/uts/i86pc/io/ |
| H A D | hpet_acpi.c | 931 hrtime_t dead = gethrtime() + hpet_spin_timeout; in hpet_cpr() 950 if (gethrtime() > dead) { in hpet_cpr() 1025 hrtime_t dead = gethrtime() + hpet_spin_timeout; in hpet_deep_idle_config() 1068 if (gethrtime() > dead) { in hpet_deep_idle_config() 1103 hrtime_t dead = gethrtime() + hpet_spin_timeout; in hpet_cst_callback() 1116 if (gethrtime() > dead) { in hpet_cst_callback() 1152 hrtime_t dead = gethrtime() + hpet_isr_spin_timeout; in hpet_isr() 1197 if (gethrtime() > dead) { in hpet_isr() 1259 now = gethrtime(); in hpet_guaranteed_schedule() 1305 HRTIME_TO_HPET_TICKS(next_proxy_time - gethrtime())) in hpet_guaranteed_schedule() [all …]
|
| /illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
| H A D | pcmu_ib.c | 168 start_time = curr = gethrtime(); in pcmu_ib_intr_disable() 180 curr = gethrtime(); in pcmu_ib_intr_disable() 255 start_time = curr = gethrtime(); in pcmu_ib_intr_dist() 266 curr = gethrtime(); in pcmu_ib_intr_dist() 522 start_time = curr = gethrtime(); in pcmu_ib_ino_add_intr() 534 curr = gethrtime(); in pcmu_ib_ino_add_intr() 610 start_time = curr = gethrtime(); in pcmu_ib_ino_rem_intr() 622 curr = gethrtime(); in pcmu_ib_ino_rem_intr()
|
| /illumos-gate/usr/src/lib/sun_sas/common/ |
| H A D | Sun_sasLoadLibrary.c | 65 start = gethrtime(); in Sun_sasLoadLibrary() 73 end = gethrtime(); in Sun_sasLoadLibrary()
|
| H A D | Sun_sasRefreshAdapterConfiguration.c | 101 start = gethrtime(); in Sun_sasRefreshAdapterConfiguration() 112 end = gethrtime(); in Sun_sasRefreshAdapterConfiguration()
|
| H A D | Sun_sasRefreshInformation.c | 109 start = gethrtime(); in Sun_sasRefreshInformation() 120 end = gethrtime(); in Sun_sasRefreshInformation()
|
| /illumos-gate/usr/src/lib/sun_fc/common/ |
| H A D | Sun_fcScsiReadCapacityV2.cc | 65 hrtime_t start = gethrtime(); in Sun_fcScsiReadCapacityV2() 67 for (hrtime_t cur = start; cur < end; cur = gethrtime()) { in Sun_fcScsiReadCapacityV2()
|
| H A D | Sun_fcScsiReportLUNsV2.cc | 65 hrtime_t start = gethrtime(); in Sun_fcScsiReportLUNsV2() 67 for (hrtime_t cur = start; cur < end; cur = gethrtime()) { in Sun_fcScsiReportLUNsV2()
|
| H A D | Sun_fcScsiInquiryV2.cc | 68 hrtime_t start = gethrtime(); in Sun_fcScsiInquiryV2() 70 for (hrtime_t cur = start; cur < end; cur = gethrtime()) { in Sun_fcScsiInquiryV2()
|
| /illumos-gate/usr/src/uts/sun4u/io/pci/ |
| H A D | pci_ib.c | 187 start_time = gethrtime(); in ib_intr_disable() 190 if (gethrtime() - start_time > pci_intrpend_timeout) { in ib_intr_disable() 281 start_time = gethrtime(); in ib_intr_dist() 283 if (gethrtime() - start_time > pci_intrpend_timeout) { in ib_intr_dist() 651 start_time = gethrtime(); in ib_ino_add_intr() 654 if (gethrtime() - start_time > pci_intrpend_timeout) { in ib_ino_add_intr() 722 start_time = gethrtime(); in ib_ino_rem_intr() 725 if (gethrtime() - start_time > pci_intrpend_timeout) { in ib_ino_rem_intr() 935 start_time = gethrtime(); in ib_set_intr_target() 941 if ((gethrtime() - start_time) < pci_intrpend_timeout) { in ib_set_intr_target()
|
| /illumos-gate/usr/src/cmd/stat/common/ |
| H A D | common.c | 70 now = gethrtime(); in sleep_until() 107 now = gethrtime(); in sleep_until()
|
| /illumos-gate/usr/src/uts/common/io/nvme/ |
| H A D | nvme_lock.c | 174 info->nli_last_change = gethrtime(); in nvme_rwlock_rdlock() 193 info->nli_last_change = gethrtime(); in nvme_rwlock_wrlock() 368 info->nli_last_change = gethrtime(); in nvme_rwunlock() 401 info->nli_last_change = gethrtime(); in nvme_rwlock_signal() 548 sleep_time = gethrtime(); in nvme_rwlock() 605 info->nli_last_change = gethrtime(); in nvme_rwlock_ctrl_dead_cleanup_one()
|
| /illumos-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs_acl_vnops.c | 162 t = gethrtime(); in acl_getacl2() 201 t = gethrtime(); in acl_setacl2() 254 t = gethrtime(); in acl_getattr2_otw() 359 t = gethrtime(); in acl_access2() 439 t = gethrtime(); in acl_getxattrdir2() 542 t = gethrtime(); in acl_getacl3() 582 t = gethrtime(); in acl_setacl3() 641 t = gethrtime(); in acl_getxattrdir3()
|
| /illumos-gate/usr/src/cmd/svc/startd/ |
| H A D | dict.c | 73 hrtime_t now = gethrtime(); in dict_lookup_byname() 87 dictionary_ns_total += gethrtime() - now; in dict_lookup_byname()
|