Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/prctl/
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()
/linux/tools/testing/selftests/kvm/include/x86_64/
A Dprocessor.h104 uint64_t tsc_val; in rdtsc() local
112 tsc_val = ((uint64_t)edx) << 32 | eax; in rdtsc()
113 return tsc_val; in rdtsc()

Completed in 6 milliseconds