Searched refs:ReadUintFromProcFile (Results 1 – 1 of 1) sorted by relevance
444 static bool ReadUintFromProcFile(const std::string& path, T* value) { in ReadUintFromProcFile() function467 return ReadUintFromProcFile("/proc/sys/kernel/perf_event_max_sample_rate", max_sample_freq); in GetMaxSampleFrequency()475 return ReadUintFromProcFile("/proc/sys/kernel/perf_cpu_time_max_percent", percent); in GetCpuTimeMaxPercent()483 return ReadUintFromProcFile("/proc/sys/kernel/perf_event_mlock_kb", mlock_kb); in GetPerfEventMlockKb()