| /freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
| D | time.h | 40 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC)) 44 #define SEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / SEC)) 46 typedef longlong_t hrtime_t; typedef 60 static __inline hrtime_t 64 hrtime_t nsec; in gethrtime() 67 nsec = (hrtime_t)ts.tv_sec * NANOSEC + ts.tv_nsec; in gethrtime() 83 static __inline hrtime_t gethrtime(void) { in gethrtime()
|
| D | kcondvar.h | 63 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires()
|
| D | cpuvar.h | 44 hrtime_t cpu_dtrace_chillmark; /* DTrace: chill mark time */ 45 hrtime_t cpu_dtrace_chilled; /* DTrace: total chill time */
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
| D | profile.c | 97 hrtime_t prof_interval; 102 hrtime_t profc_expected; 103 hrtime_t profc_interval; 107 hrtime_t profile_interval_min = NANOSEC / 5000; /* 5000 hz */ 139 hrtime_t late; in profile_fire() 158 profile_create(hrtime_t interval, const char *name, int kind) in profile_create() 192 hrtime_t val = 0, mult = 1, len; in profile_provide() 206 hrtime_t mult; in profile_provide() 216 { "m", NANOSEC * (hrtime_t)60 }, in profile_provide() 217 { "min", NANOSEC * (hrtime_t)60 }, in profile_provide() [all …]
|
| /freebsd-10-stable/sys/cddl/dev/profile/ |
| D | profile.c | 136 hrtime_t prof_interval; 147 hrtime_t profc_expected; 148 hrtime_t profc_interval; 157 static void profile_create(hrtime_t, char *, int); 218 static hrtime_t profile_interval_min = NANOSEC / 5000; /* 5000 hz */ 222 nsec_to_sbt(hrtime_t nsec) in nsec_to_sbt() 235 static hrtime_t 240 (((uint32_t)sbt * (hrtime_t)NANOSEC) >> 32)); in sbt_to_nsec() 248 hrtime_t late; in profile_fire() 310 profile_create(hrtime_t interval, char *name, int kind) in profile_create() [all …]
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| D | cpuvar.h | 181 hrtime_t cpu_dtrace_chillmark; /* DTrace: chill mark time */ 182 hrtime_t cpu_dtrace_chilled; /* DTrace: total chill time */ 185 volatile hrtime_t cpu_mstate_start; /* cpu microstate start time */ 186 volatile hrtime_t cpu_acct[NCMSTATES]; /* cpu microstate data */ 187 hrtime_t cpu_intracct[NCMSTATES]; /* interrupt mstate data */ 188 hrtime_t cpu_waitrq; /* cpu run-queue wait time */ 212 hrtime_t cpu_intrlast; /* total interrupt time (nsec) */ 716 extern void new_cpu_mstate(int, hrtime_t); 717 extern void get_cpu_mstate(struct cpu *, hrtime_t *);
|
| D | sysevent.h | 115 hrtime_t eid_ts; 134 hrtime_t sv_time; 277 extern void sysevent_get_time(sysevent_t *, hrtime_t *);
|
| D | dtrace_impl.h | 926 hrtime_t dtms_walltimestamp; /* cached wall timestamp */ 1154 hrtime_t dts_laststatus; /* time of last status */ 1162 hrtime_t dts_alive; /* time last alive */ 1179 hrtime_t dtpv_defunct; /* when made defunct */ 1304 extern hrtime_t dtrace_gethrestime(void);
|
| D | nvpair.h | 195 int nvlist_add_hrtime(nvlist_t *, const char *, hrtime_t); 231 int nvlist_lookup_hrtime(nvlist_t *, const char *, hrtime_t *); 273 int nvpair_value_hrtime(nvpair_t *, hrtime_t *);
|
| /freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| D | dt_work.c | 53 hrtime_t earliest = INT64_MAX; in dtrace_sleep() 55 hrtime_t now; in dtrace_sleep() 72 if (*((hrtime_t *)a) + interval < earliest) in dtrace_sleep() 73 earliest = *((hrtime_t *)a) + interval; in dtrace_sleep() 135 hrtime_t now = gethrtime(); in dtrace_status()
|
| D | dt_options.c | 701 hrtime_t mul; in dt_opt_rate() 711 { "m", NANOSEC * (hrtime_t)60 }, in dt_opt_rate() 712 { "min", NANOSEC * (hrtime_t)60 }, in dt_opt_rate() 713 { "h", NANOSEC * (hrtime_t)60 * (hrtime_t)60 }, in dt_opt_rate() 714 { "hour", NANOSEC * (hrtime_t)60 * (hrtime_t)60 }, in dt_opt_rate() 715 { "d", NANOSEC * (hrtime_t)(24 * 60 * 60) }, in dt_opt_rate() 716 { "day", NANOSEC * (hrtime_t)(24 * 60 * 60) }, in dt_opt_rate()
|
| D | dt_impl.h | 324 hrtime_t dt_laststatus; /* last status */ 325 hrtime_t dt_lastswitch; /* last switch of buffer data */ 326 hrtime_t dt_lastagg; /* last snapshot of aggregation data */
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/sys/fm/ |
| D | util.h | 65 hrtime_t ed_hrt_nsec; /* hrtime of this ereport */ 66 hrtime_t ed_hrt_base; /* hrtime sample corresponding to ed_tod_base */
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| D | txg.h | 77 extern void txg_delay(struct dsl_pool *dp, uint64_t txg, hrtime_t delta, 78 hrtime_t resolution);
|
| D | dmu_zfetch.h | 54 hrtime_t zs_atime; /* time last prefetch issued */
|
| D | zio.h | 470 hrtime_t io_timestamp; 471 hrtime_t io_queued_timestamp; 472 hrtime_t io_target_timestamp; 639 extern hrtime_t zio_handle_io_delay(zio_t *zio);
|
| D | spa_impl.h | 268 hrtime_t spa_sync_starttime; /* starting time fo spa_sync */ 282 hrtime_t spa_ccw_fail_time; /* Conf cache write fail time */
|
| D | txg_impl.h | 99 hrtime_t tx_open_time; /* start time of tx_open_txg */
|
| /freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | zio_inject.c | 401 hrtime_t 406 hrtime_t min_target = 0; in zio_handle_io_delay() 508 hrtime_t idle = handler->zi_record.zi_timer + gethrtime(); in zio_handle_io_delay() 509 hrtime_t busy = handler->zi_record.zi_timer + in zio_handle_io_delay() 511 hrtime_t target = MAX(idle, busy); in zio_handle_io_delay()
|
| D | trim_map.c | 74 hrtime_t ts_time; /* Segment creation time. */ 216 hrtime_t time; in trim_map_segment_add() 421 trim_map_first(trim_map_t *tm, uint64_t txg, uint64_t txgsafe, hrtime_t time, in trim_map_first() 443 hrtime_t timelimit; in trim_map_vdev_commit() 450 timelimit = gethrtime() - (hrtime_t)trim_timeout * NANOSEC; in trim_map_vdev_commit()
|
| /freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
| D | err.badchill.d | 32 chill(((hrtime_t)1 << 63) - 1);
|
| /freebsd-10-stable/cddl/contrib/opensolaris/lib/libzpool/common/sys/ |
| D | zfs_context.h | 333 extern clock_t cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, 334 hrtime_t res, int flag); 773 hrtime_t cyt_when; 774 hrtime_t cyt_interval; 785 extern int cyclic_reprogram(cyclic_id_t, hrtime_t);
|
| /freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/ |
| D | tst.walltimestamp.ksh | 44 @foo = min(1075064400 * (hrtime_t)1000000000);
|
| /freebsd-10-stable/sys/cddl/dev/dtrace/ |
| D | dtrace_vtime.c | 87 hrtime_t ts; in dtrace_vtime_switch()
|
| /freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/ |
| D | badioctl.c | 64 hrtime_t now, last = 0, end; in badioctl()
|