Searched refs:PR_TSC_ENABLE (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/Documentation/prctl/
H A Ddisable-tsc-test.c21 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
28 [PR_TSC_ENABLE] = "PR_TSC_ENABLE",
52 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); sigsegv_cb()
54 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) sigsegv_cb()
75 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); main()
78 if ( prctl(PR_SET_TSC, PR_TSC_ENABLE) == -1) main()
H A Ddisable-tsc-ctxt-sw-stress-test.c26 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
66 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) rdtsctask()
H A Ddisable-tsc-on-off-stress-test.c26 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro
49 if (prctl(PR_SET_TSC, PR_TSC_ENABLE) < 0) sigsegv_cb()
/linux-4.4.14/arch/x86/kernel/
H A Dprocess.c174 val = PR_TSC_ENABLE; get_tsc_mode()
183 else if (val == PR_TSC_ENABLE) set_tsc_mode()
/linux-4.4.14/include/uapi/linux/
H A Dprctl.h76 # define PR_TSC_ENABLE 1 /* allow the use of the timestamp counter */ macro

Completed in 45 milliseconds