Home
last modified time | relevance | path

Searched refs:tsc (Results 1 – 12 of 12) sorted by relevance

/dragonfly/sys/dev/disk/dm/striped/
H A Ddm_target_striped.c114 if (tsc == NULL) in dm_target_stripe_init()
116 tsc->stripe_num = n; in dm_target_stripe_init()
124 (int)tsc->stripe_num, in dm_target_stripe_init()
125 (int)tsc->stripe_chunksize in dm_target_stripe_init()
140 if (n != tsc->stripe_num) { in dm_target_stripe_init()
164 tsc = target_config; in dm_target_stripe_info()
206 tsc = target_config; in dm_target_stripe_table()
213 tsc->stripe_num, in dm_target_stripe_table()
293 if (tsc == NULL) in dm_target_stripe_strategy()
383 if (tsc == NULL) in dm_target_stripe_dump()
[all …]
/dragonfly/sys/dev/disk/dm/snapshot/
H A Ddm_target_snapshot.c130 if (tsc == NULL) in dm_target_snapshot_init()
133 tsc->tsc_persistent_dev = 0; in dm_target_snapshot_init()
137 tsc->tsc_persistent_dev = 1; in dm_target_snapshot_init()
146 tsc->tsc_cow_dev = dmp_cow; in dm_target_snapshot_init()
171 tsc = target_config; in dm_target_snapshot_table()
184 if (tsc->tsc_persistent_dev) in dm_target_snapshot_table()
193 tsc->tsc_cow_dev->name, tsc->tsc_persistent_dev ? "p" : "n", in dm_target_snapshot_table()
194 tsc->tsc_chunk_size); in dm_target_snapshot_table()
197 tsc->tsc_persistent_dev ? tsc->tsc_cow_dev->name : "", in dm_target_snapshot_table()
199 tsc->tsc_chunk_size); in dm_target_snapshot_table()
[all …]
/dragonfly/sys/sys/
H A Dmicrotime_pcpu.h55 uint64_t tsc; member
62 t->tsc = rdtsc(); in microtime_pcpu_get()
72 return (((e->tsc - s->tsc) * 1000000) / in microtime_pcpu_diff()
/dragonfly/sys/dev/misc/aperf/
H A Daperf.c154 uint64_t aperf, mperf, tsc, freq; in aperf_sensor_task() local
158 tsc = rdtsc_ordered(); in aperf_sensor_task()
166 sc->sc_tsc_prev = tsc; in aperf_sensor_task()
174 tsc_diff = tsc - sc->sc_tsc_prev; in aperf_sensor_task()
180 sc->sc_tsc_prev = tsc; in aperf_sensor_task()
/dragonfly/sys/cpu/x86_64/misc/
H A Dcputimer_tsc.c86 uint64_t tsc; in tsc_cputimer_count() local
88 tsc = rdtsc(); in tsc_cputimer_count()
90 return (tsc + tsc_cputimer.base); in tsc_cputimer_count()
/dragonfly/sys/dev/virtual/hyperv/x86_64/
H A Dhyperv_machdep.c100 uint64_t disc, ret, tsc; \
109 tsc = rdtsc(); \
114 "a" (tsc), "r" (scale)); \
/dragonfly/sys/platform/pc64/x86_64/
H A Dpmap_inval.c166 tsc_uclock_t tsc; in loopwdog() local
168 tsc = rdtsc(); in loopwdog()
169 if ((tsc_sclock_t)(info->tsc_target - tsc) < 0 && tsc_frequency) { in loopwdog()
170 info->tsc_target = tsc + (tsc_frequency * LOOPRECOVER_TIMEOUT2); in loopwdog()
H A Dmachdep.c3625 tsc_uclock_t tsc; in pcpu_timer_always() local
3630 tsc = rdtsc() - last_tsc[gd->gd_cpuid]; in pcpu_timer_always()
3631 if (tsc_frequency == 0 || tsc < tsc_frequency) in pcpu_timer_always()
/dragonfly/sys/platform/pc64/isa/
H A Dclock.c1349 static u_long tsc[KERN_TIMESTAMP_SIZE] ; variable
1350 SYSCTL_OPAQUE(_debug, OID_AUTO, timestamp, CTLFLAG_RD, tsc,
1351 sizeof(tsc), "LU", "Kernel timestamps");
1357 tsc[i] = (u_int32_t)rdtsc(); in _TSTMP()
1358 tsc[i+1] = x; in _TSTMP()
1362 tsc[i] = 0; /* mark last entry */ in _TSTMP()
/dragonfly/sys/platform/pc64/apic/
H A Dlapic.c885 int64_t tsc; in lapic_mem_icr_unpend() local
888 tsc = rdtsc(); in lapic_mem_icr_unpend()
892 (tsc + tsc_frequency)) > 0) { in lapic_mem_icr_unpend()
893 tsc = rdtsc(); in lapic_mem_icr_unpend()
/dragonfly/contrib/zstd/lib/common/
H A Dcpu.h152 D(tsc, 4)
/dragonfly/sys/dev/netif/iwn/
H A Dif_iwnreg.h694 uint64_t tsc; member