Home
last modified time | relevance | path

Searched refs:tsc_val (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/prctl/
H A Ddisable-tsc-test.c43 int tsc_val = 0; in sigsegv_cb() local
49 if ( prctl(PR_GET_TSC, &tsc_val) == -1) in sigsegv_cb()
52 printf("tsc_val == %s\n", tsc_names[tsc_val]); in sigsegv_cb()
63 int tsc_val = 0; in main() local
71 if ( prctl(PR_GET_TSC, &tsc_val) == -1) in main()
74 printf("tsc_val == %s\n", tsc_names[tsc_val]); in main()
/openbmc/qemu/target/i386/whpx/
H A Dwhpx-all.c325 WHV_REGISTER_VALUE tsc_val; in whpx_set_tsc() local
347 tsc_val.Reg64 = cpu_env(cpu)->tsc; in whpx_set_tsc()
349 whpx->partition, cpu->cpu_index, &tsc_reg, 1, &tsc_val); in whpx_set_tsc()
559 WHV_REGISTER_VALUE tsc_val; in whpx_get_tsc() local
564 whpx->partition, cpu->cpu_index, &tsc_reg, 1, &tsc_val); in whpx_get_tsc()
570 cpu_env(cpu)->tsc = tsc_val.Reg64; in whpx_get_tsc()
/openbmc/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h401 uint64_t tsc_val; in rdtsc() local
409 tsc_val = ((uint64_t)edx) << 32 | eax; in rdtsc()
410 return tsc_val; in rdtsc()