Searched refs:ReadIntFromProcFile (Results 1 – 8 of 8) sorted by relevance
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | utilities_test.cpp | 542 HWTEST_F(UtilitiesTest, ReadIntFromProcFile, TestSize.Level1) 546 EXPECT_EQ(ReadIntFromProcFile(strPath, strLen), true);
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | utilities_test.cpp | 537 HWTEST_F(UtilitiesTest, ReadIntFromProcFile, TestSize.Level1) 541 EXPECT_EQ(ReadIntFromProcFile(strPath, strLen), true);
|
| /developtools/hiperf/src/ |
| D | subcommand_record.cpp | 641 if (!ReadIntFromProcFile(file, oldValue)) { in SetPerfLimit() 677 if (!ReadIntFromProcFile(PERF_EVENT_MAX_SAMPLE_RATE, maxRate)) { in SetPerfMaxSampleRate() 727 if (!ReadIntFromProcFile(node.c_str(), enable) and in TraceOffCpu() 728 !ReadIntFromProcFile(nodeDebug.c_str(), enable)) { in TraceOffCpu() 739 if (!ReadIntFromProcFile(SAVED_CMDLINES_SIZE, oldCmdlinesSize_)) { in SetSavedCmdlinesSize()
|
| D | utilities.cpp | 341 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function
|
| D | perf_events.cpp | 753 if (!ReadIntFromProcFile("/proc/sys/kernel/perf_event_max_sample_rate", maxRate)) { in SetSampleFrequency()
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | utilities.h | 265 bool ReadIntFromProcFile(const std::string &path, int &value);
|
| /developtools/hiperf/include/ |
| D | utilities.h | 273 bool ReadIntFromProcFile(const std::string &path, int &value);
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | utilities.cpp | 284 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function
|