Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/prctl/
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-6.6.21/tools/testing/selftests/kvm/include/x86_64/
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()