Searched refs:filename_to_u64 (Results 1 – 2 of 2) sorted by relevance
/external/igt-gpu-tools/overlay/ |
D | power.c | 62 static uint64_t filename_to_u64(const char *filename, int base) in filename_to_u64() function 86 return filename_to_u64(buf, 0); in debugfs_file_to_u64() 91 return filename_to_u64("/sys/devices/power/type", 10); in rapl_type_id() 96 return filename_to_u64("/sys/devices/power/events/energy-gpu", 0); in rapl_gpu_power()
|
/external/igt-gpu-tools/tools/ |
D | intel_gpu_top.c | 307 static uint64_t filename_to_u64(const char *filename, int base) in filename_to_u64() function 346 return filename_to_u64(RAPL_ROOT "type", 10); in rapl_type_id() 351 return filename_to_u64(RAPL_EVENT "energy-gpu", 0); in rapl_gpu_power() 378 return filename_to_u64(IMC_ROOT "type", 10); in imc_type_id() 383 return filename_to_u64(IMC_EVENT "data_reads", 0); in imc_data_reads() 403 return filename_to_u64(IMC_EVENT "data_writes", 0); in imc_data_writes()
|