Home
last modified time | relevance | path

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

/external/cpuinfo/tools/
Dcpuinfo-dump.c13 #define CPUINFO_PATH "/proc/cpuinfo" macro
16 int file = open(CPUINFO_PATH, O_RDONLY); in main()
18 fprintf(stderr, "Error: failed to open %s: %s\n", CPUINFO_PATH, strerror(errno)); in main()
30 CPUINFO_PATH, position, strerror(errno)); in main()
41 fprintf(stderr, "Error: failed to close %s: %s\n", CPUINFO_PATH, strerror(errno)); in main()
/external/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/
Dht_utils.c58 #define CPUINFO_PATH "/proc/cpuinfo" macro
69 pfile = fopen(CPUINFO_PATH, "r"); in get_cpu_count()
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_utils.c54 #define CPUINFO_PATH "/proc/cpuinfo" macro
65 pfile = fopen(CPUINFO_PATH, "r"); in get_cpu_count()