Symbol: rdtsc
arch/x86/include/asm/entry-common.h
95
choose_random_kstack_offset(rdtsc());
arch/x86/include/asm/timex.h
13
return rdtsc();
arch/x86/include/asm/tsc.h
82
return rdtsc();
arch/x86/kernel/apic/apic.c
430
tsc = rdtsc();
arch/x86/kernel/apic/apic.c
664
tsc = rdtsc();
arch/x86/kernel/apic/apic.c
844
tsc_start = rdtsc();
arch/x86/kernel/apic/apic.c
858
u64 tsc_now = rdtsc();
arch/x86/kernel/apic/io_apic.c
1480
start = rdtsc();
arch/x86/kernel/apic/io_apic.c
1490
now = rdtsc();
arch/x86/kernel/cpu/amd.c
142
d = rdtsc();
arch/x86/kernel/cpu/amd.c
145
d2 = rdtsc();
arch/x86/kernel/cpu/mce/apei.c
60
m->tsc = rdtsc();
arch/x86/kernel/cpu/mce/core.c
1602
m->tsc = rdtsc();
arch/x86/kernel/cpu/mce/core.c
829
m->tsc = rdtsc();
arch/x86/kernel/cpu/vmware.c
169
ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul,
arch/x86/kernel/cpu/vmware.c
178
unsigned long long tsc_now = rdtsc();
arch/x86/kernel/hpet.c
896
start = rdtsc();
arch/x86/kernel/hpet.c
907
now = rdtsc();
arch/x86/kernel/tsc.c
1057
set_cyc2ns_scale(tsc_khz, freq->policy->cpu, rdtsc());
arch/x86/kernel/tsc.c
210
__set_cyc2ns_scale(tsc_khz, smp_processor_id(), rdtsc());
arch/x86/kernel/tsc.c
240
u64 tsc_now = rdtsc();
arch/x86/kvm/emulate.c
4380
IIP(ImplicitOps, em_rdtsc, rdtsc, check_rdtsc),
arch/x86/kvm/hyperv.c
586
tsc = kvm_read_l1_tsc(vcpu, rdtsc());
arch/x86/kvm/lapic.c
1984
guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc());
arch/x86/kvm/lapic.c
1994
guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc());
arch/x86/kvm/lapic.c
2078
guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc());
arch/x86/kvm/lapic.c
2127
u64 tscl = rdtsc();
arch/x86/kvm/lapic.c
2178
u64 tscl = rdtsc();
arch/x86/kvm/pmu.c
707
ctr_val = rdtsc();
arch/x86/kvm/vmx/nested.c
2238
u64 l1_scaled_tsc = kvm_read_l1_tsc(vcpu, rdtsc()) >>
arch/x86/kvm/vmx/vmx.c
7475
tscl = rdtsc();
arch/x86/kvm/vmx/vmx.c
8422
tscl = rdtsc();
arch/x86/kvm/x86.c
11440
vcpu->arch.last_guest_tsc = kvm_read_l1_tsc(vcpu, rdtsc());
arch/x86/kvm/x86.c
13104
local_tsc = rdtsc();
arch/x86/kvm/x86.c
2671
tsc = kvm_scale_tsc(rdtsc(), vcpu->arch.l1_tsc_scaling_ratio);
arch/x86/kvm/x86.c
3229
data->host_tsc = rdtsc();
arch/x86/kvm/x86.c
3348
host_tsc = rdtsc();
arch/x86/kvm/x86.c
4433
msr_info->data = kvm_scale_tsc(rdtsc(), ratio) + offset;
arch/x86/kvm/x86.c
5209
rdtsc() - vcpu->arch.last_host_tsc;
arch/x86/kvm/x86.c
5311
vcpu->arch.last_host_tsc = rdtsc();
arch/x86/kvm/x86.c
5963
tsc = kvm_scale_tsc(rdtsc(), vcpu->arch.l1_tsc_scaling_ratio) + offset;
arch/x86/kvm/xen.c
249
host_tsc = rdtsc();
arch/x86/lib/delay.c
195
*timer_val = rdtsc();
arch/x86/lib/kaslr.c
76
raw = rdtsc();
drivers/accel/habanalabs/common/habanalabs_ioctl.c
326
time_sync.tsc_time = rdtsc();
drivers/cpufreq/amd-pstate.c
543
tsc = rdtsc();
drivers/cpufreq/intel_pstate.c
2488
tsc = rdtsc();
drivers/gpu/drm/vmwgfx/vmwgfx_mksstat.h
101
.t0 = rdtsc(), \
drivers/gpu/drm/vmwgfx/vmwgfx_mksstat.h
120
const u64 dt = rdtsc() - _##kern_cntr.t0; \
drivers/input/gameport/gameport.c
148
t1 = rdtsc();
drivers/input/gameport/gameport.c
150
t2 = rdtsc();
drivers/thermal/intel/intel_powerclamp.c
439
tsc_now = rdtsc();
drivers/thermal/intel/intel_powerclamp.c
508
tsc_now = rdtsc();
tools/perf/arch/arm64/util/hisi-ptt.c
150
return rdtsc();
tools/perf/arch/x86/util/intel-bts.c
276
return rdtsc();
tools/perf/arch/x86/util/intel-pt.c
1179
return rdtsc();
tools/perf/tests/perf-time-to-tsc.c
141
test_tsc = rdtsc();
tools/perf/util/tsc.h
27
u64 rdtsc(void);
tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c
85
then_tsc = rdtsc();
tools/power/cpupower/debug/kernel/cpufreq-test_tsc.c
89
now_tsc = rdtsc();
tools/power/x86/turbostat/turbostat.c
5194
t->tsc = rdtsc(); /* we are running on local CPU of interest */
tools/testing/selftests/kvm/include/x86/processor.h
872
start = rdtsc();
tools/testing/selftests/kvm/include/x86/processor.h
874
now = rdtsc();
tools/testing/selftests/kvm/system_counter_offset_test.c
44
return rdtsc();
tools/testing/selftests/kvm/system_counter_offset_test.c
49
return rdtsc() + test->tsc_offset;
tools/testing/selftests/kvm/x86/apic_bus_clock_test.c
78
tsc0 = rdtsc();
tools/testing/selftests/kvm/x86/apic_bus_clock_test.c
81
tsc1 = rdtsc();
tools/testing/selftests/kvm/x86/hyperv_clock.c
185
r1 = rdtsc();
tools/testing/selftests/kvm/x86/hyperv_clock.c
187
r1 = (r1 + rdtsc()) / 2;
tools/testing/selftests/kvm/x86/hyperv_clock.c
189
r2 = rdtsc();
tools/testing/selftests/kvm/x86/hyperv_clock.c
191
r2 = (r2 + rdtsc()) / 2;
tools/testing/selftests/kvm/x86/hyperv_clock.c
60
r1 = rdtsc();
tools/testing/selftests/kvm/x86/hyperv_clock.c
62
r1 = (r1 + rdtsc()) / 2;
tools/testing/selftests/kvm/x86/hyperv_clock.c
64
r2 = rdtsc();
tools/testing/selftests/kvm/x86/hyperv_clock.c
66
r2 = (r2 + rdtsc()) / 2;
tools/testing/selftests/kvm/x86/hyperv_clock.c
81
return mul_u64_u64_shr64(rdtsc(), tsc_page->tsc_scale) + tsc_page->tsc_offset;
tools/testing/selftests/kvm/x86/kvm_clock_test.c
40
GUEST_SYNC_CLOCK(i, __pvclock_read_cycles(pvti, rdtsc()));
tools/testing/selftests/kvm/x86/nested_tsc_adjust_test.c
67
uint64_t l1_tsc = rdtsc() - TSC_OFFSET_VALUE;
tools/testing/selftests/kvm/x86/nested_tsc_adjust_test.c
81
GUEST_ASSERT(rdtsc() < TSC_ADJUST_VALUE);
tools/testing/selftests/kvm/x86/nested_tsc_adjust_test.c
82
wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE);
tools/testing/selftests/kvm/x86/nested_tsc_scaling_test.c
180
tsc_start = rdtsc();
tools/testing/selftests/kvm/x86/nested_tsc_scaling_test.c
182
tsc_end = rdtsc();
tools/testing/selftests/kvm/x86/tsc_scaling_sync.c
29
start_tsc = rdtsc();
tools/testing/selftests/kvm/x86/tsc_scaling_sync.c
32
local_tsc = rdtsc();
tools/testing/selftests/kvm/x86/vmx_preemption_timer_test.c
114
l1_vmx_pt_start = (rdtsc() >> vmx_pt_rate) << vmx_pt_rate;
tools/testing/selftests/kvm/x86/vmx_preemption_timer_test.c
118
l1_vmx_pt_finish = rdtsc();
tools/testing/selftests/kvm/x86/vmx_preemption_timer_test.c
41
l2_vmx_pt_start = (rdtsc() >> vmx_pt_rate) << vmx_pt_rate;
tools/testing/selftests/kvm/x86/vmx_preemption_timer_test.c
47
l2_vmx_pt_finish = rdtsc();
tools/testing/selftests/kvm/x86/vmx_preemption_timer_test.c
63
while ((l2_vmx_pt_finish = rdtsc()))
tools/testing/selftests/kvm/x86/xapic_ipi_test.c
175
tsc_start = rdtsc();
tools/testing/selftests/kvm/x86/xapic_ipi_test.c
176
while (rdtsc() - tsc_start < 2000000000) {
tools/testing/selftests/prctl/disable-tsc-ctxt-sw-stress-test.c
53
rdtsc();
tools/testing/selftests/prctl/disable-tsc-ctxt-sw-stress-test.c
74
for(;;) rdtsc();
tools/testing/selftests/prctl/disable-tsc-on-off-stress-test.c
57
rdtsc();
tools/testing/selftests/prctl/disable-tsc-on-off-stress-test.c
66
rdtsc();
tools/testing/selftests/prctl/disable-tsc-test.c
67
printf("rdtsc() == %llu\n", (unsigned long long)rdtsc());
tools/testing/selftests/prctl/disable-tsc-test.c
75
printf("rdtsc() == %llu\n", (unsigned long long)rdtsc());
tools/testing/selftests/prctl/disable-tsc-test.c
82
printf("rdtsc() == %llu\n", (unsigned long long)rdtsc());
tools/testing/selftests/prctl/disable-tsc-test.c
91
printf("%llu\n", (unsigned long long)rdtsc());