Searched refs:CPUINFO_PATH (Results 1 – 3 of 3) sorted by relevance
/external/cpuinfo/tools/ |
D | cpuinfo-dump.c | 13 #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/ |
D | ht_utils.c | 58 #define CPUINFO_PATH "/proc/cpuinfo" macro 69 pfile = fopen(CPUINFO_PATH, "r"); in get_cpu_count()
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_utils.c | 54 #define CPUINFO_PATH "/proc/cpuinfo" macro 65 pfile = fopen(CPUINFO_PATH, "r"); in get_cpu_count()
|