| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | kstat.h | 72 hrtime_t ks_crtime; /* creation time (from gethrtime()) */ 85 hrtime_t ks_snaptime; /* time of last data snapshot */ 103 hrtime_t ks_crtime; 116 hrtime_t ks_snaptime; 672 hrtime_t rtime; /* cumulative run (service) time */ 674 hrtime_t rlastupdate; /* last time run queue changed */ 694 hrtime_t elapsed_time; /* cumulative elapsed time */ 695 hrtime_t min_time; /* shortest event duration */ 696 hrtime_t max_time; /* longest event duration */ 697 hrtime_t start_time; /* previous event start time */ [all …]
|
| H A D | time.h | 55 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC)) 63 #define USEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MICROSEC)) 75 #define SEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / SEC)) 78 typedef long long hrtime_t; typedef 99 static inline hrtime_t
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | kstat.h | 111 hrtime_t ks_crtime; /* creation time */ 112 hrtime_t ks_snaptime; /* last access time */ 169 hrtime_t wtime; /* cumulative wait (pre-service) time */ 171 hrtime_t wlastupdate; /* last time wait queue changed */ 172 hrtime_t rtime; /* cumulative run (service) time */ 174 hrtime_t rlastupdate; /* last time run queue changed */ 182 hrtime_t elapsed_time; /* cumulative elapsed time */ 183 hrtime_t min_time; /* shortest event duration */ 184 hrtime_t max_time; /* longest event duration */ 185 hrtime_t start_time; /* previous event start time */ [all …]
|
| H A D | time.h | 45 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC)) 48 #define USEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MICROSEC)) 52 #define SEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / SEC)) 56 typedef longlong_t hrtime_t; typedef 104 static inline hrtime_t 114 return (((hrtime_t)ts.tv_sec * NSEC_PER_SEC) + ts.tv_nsec); in gethrtime()
|
| H A D | condvar.h | 89 extern int cv_timedwait_hires(kcondvar_t *, kmutex_t *, hrtime_t, 90 hrtime_t res, int flag); 91 extern int cv_timedwait_sig_hires(kcondvar_t *, kmutex_t *, hrtime_t, 92 hrtime_t res, int flag); 93 extern int cv_timedwait_idle_hires(kcondvar_t *, kmutex_t *, hrtime_t, 94 hrtime_t res, int flag);
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | kstat.h | 113 hrtime_t ks_crtime; /* creation time */ 114 hrtime_t ks_snaptime; /* last access time */ 173 hrtime_t wtime; /* cumulative wait (pre-service) time */ 175 hrtime_t wlastupdate; /* last time wait queue changed */ 176 hrtime_t rtime; /* cumulative run (service) time */ 178 hrtime_t rlastupdate; /* last time run queue changed */ 186 hrtime_t elapsed_time; /* cumulative elapsed time */ 187 hrtime_t min_time; /* shortest event duration */ 188 hrtime_t max_time; /* longest event duration */ 189 hrtime_t start_time; /* previous event start time */ [all …]
|
| H A D | time.h | 44 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC)) 47 #define USEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MICROSEC)) 51 #define SEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / SEC)) 53 typedef longlong_t hrtime_t; typedef 66 static __inline hrtime_t 70 hrtime_t nsec; in gethrtime() 73 nsec = ((hrtime_t)ts.tv_sec * NANOSEC) + ts.tv_nsec; in gethrtime() 89 static __inline hrtime_t
|
| H A D | condvar.h | 156 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires() 159 hrtime_t hrtime; in cv_timedwait_hires() 181 cv_timedwait_sig_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_sig_hires() 182 hrtime_t res, int flag) in cv_timedwait_sig_hires() 185 hrtime_t hrtime; in cv_timedwait_sig_hires()
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_zio.h | 42 TP_PROTO(zio_t *zio, hrtime_t now), 46 __field(hrtime_t, now) 57 TP_PROTO(zio_t *zio, hrtime_t now, hrtime_t diff), 61 __field(hrtime_t, now) 62 __field(hrtime_t, diff)
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/agents/ |
| H A D | fmd_serd.h | 41 hrtime_t se_hrt; /* upper bound on event hrtime */ 51 hrtime_t sg_t; /* engine T parameter (nanoseconds) */ 70 const char *, uint32_t, hrtime_t); 75 extern int fmd_serd_eng_record(fmd_serd_eng_t *, hrtime_t);
|
| H A D | fmd_serd.c | 62 static hrtime_t 63 fmd_event_delta(hrtime_t t1, hrtime_t t2) in fmd_event_delta() 72 fmd_serd_eng_alloc(const char *name, uint64_t n, hrtime_t t) in fmd_serd_eng_alloc() 159 uint_t n, hrtime_t t) in fmd_serd_eng_insert() 224 fmd_serd_eng_record(fmd_serd_eng_t *sgp, hrtime_t hrt) in fmd_serd_eng_record() 297 hrtime_t hrt; in fmd_serd_eng_gc()
|
| H A D | fmd_api.h | 60 hrtime_t ev_hrt; /* event time used by SERD engines */ 200 extern void fmd_serd_create(fmd_hdl_t *, const char *, uint_t, hrtime_t); 208 extern id_t fmd_timer_install(fmd_hdl_t *, void *, fmd_event_t *, hrtime_t);
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-condvar.c | 364 __cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t expire_time, in __cv_timedwait_hires() 365 hrtime_t res, int state) in __cv_timedwait_hires() 369 hrtime_t time_left; in __cv_timedwait_hires() 426 cv_timedwait_hires_common(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_hires_common() 427 hrtime_t res, int flag, int state) in cv_timedwait_hires_common() 436 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires() 445 cv_timedwait_sig_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_sig_hires() 446 hrtime_t res, int flag) in cv_timedwait_sig_hires() 457 cv_timedwait_idle_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_idle_hires() 458 hrtime_t res, int flag) in cv_timedwait_idle_hires()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | dmu_zfetch.h | 61 hrtime_t zs_atime; /* time last prefetch issued */ 62 hrtime_t zs_start_time; /* start of last prefetch */
|
| H A D | metaslab_impl.h | 507 hrtime_t ms_load_time; /* time last loaded */ 508 hrtime_t ms_unload_time; /* time last unloaded */ 509 hrtime_t ms_selected_time; /* time last allocated from */
|
| H A D | zil_impl.h | 109 hrtime_t lwb_issued_timestamp; /* when was the lwb issued? */ 180 hrtime_t zl_last_lwb_latency; /* zio latency of last lwb done */
|
| H A D | spa_impl.h | 396 hrtime_t spa_sync_starttime; /* starting time of spa_sync */ 410 hrtime_t spa_ccw_fail_time; /* Conf cache write fail time */ 451 extern void spa_set_deadman_synctime(hrtime_t ns); 452 extern void spa_set_deadman_ziotime(hrtime_t ns);
|
| H A D | txg.h | 79 extern void txg_delay(struct dsl_pool *dp, uint64_t txg, hrtime_t delta, 80 hrtime_t resolution);
|
| H A D | zfs_delay.h | 32 hrtime_t delta = wakeup - gethrtime(); \
|
| H A D | zfs_context.h | 330 extern int cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, 331 hrtime_t res, int flag); 614 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC)) 615 #define USEC_TO_TICK(usec) (howmany((hrtime_t)(usec) * hz, MICROSEC)) 616 #define NSEC_TO_TICK(nsec) (howmany((hrtime_t)(nsec) * hz, NANOSEC)) 749 hrtime_t delta = wakeup - gethrtime(); \
|
| H A D | zio.h | 490 hrtime_t io_timestamp; /* submitted at */ 491 hrtime_t io_queued_timestamp; 492 hrtime_t io_target_timestamp; 493 hrtime_t io_delta; /* vdev queue service delta */ 494 hrtime_t io_delay; /* Device access time (disk or */ 679 extern hrtime_t zio_handle_io_delay(zio_t *zio);
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zfs_ratelimit.c | 77 hrtime_t now; in zfs_ratelimit() 79 hrtime_t elapsed; in zfs_ratelimit()
|
| H A D | mmp.c | 359 hrtime_t delay = gethrtime() - mts->mmp_last_write; in mmp_delay_update() 380 hrtime_t min_delay = in mmp_delay_update() 397 hrtime_t mmp_write_duration = gethrtime() - vd->vdev_mmp_pending; in mmp_write_done() 446 hrtime_t lock_acquire_time = gethrtime(); in mmp_write_uberblock() 550 hrtime_t mmp_fail_ns = mmp_fail_intervals * mmp_interval; in mmp_thread() 555 hrtime_t last_mmp_fail_ns = mmp_fail_ns; in mmp_thread() 574 hrtime_t next_time = gethrtime() + in mmp_thread()
|
| H A D | zthr.c | 221 hrtime_t zthr_sleep_timeout; 275 func, arg, (hrtime_t)0)); in zthr_create() 285 zthr_func_t *func, void *arg, hrtime_t max_sleep) in zthr_create_timer()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/fm/ |
| H A D | util.h | 64 hrtime_t ed_hrt_nsec; /* hrtime of this ereport */ 65 hrtime_t ed_hrt_base; /* hrtime sample corresponding to ed_tod_base */
|