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 | 548 HWTEST_F(UtilitiesTest, ReadIntFromProcFile, TestSize.Level1) 552 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 | 706 …CHECK_TRUE(!ReadIntFromProcFile(file, oldValue), false, LOG_TYPE_PRINTF, "read %s fail.\n", file.c… in SetPerfLimit() 737 CHECK_TRUE(!ReadIntFromProcFile(PERF_EVENT_MAX_SAMPLE_RATE, maxRate), false, LOG_TYPE_PRINTF, in SetPerfMaxSampleRate() 778 …CHECK_TRUE(!ReadIntFromProcFile(node.c_str(), enable) and !ReadIntFromProcFile(nodeDebug.c_str(), … in TraceOffCpu() 787 if (!ReadIntFromProcFile(SAVED_CMDLINES_SIZE, oldCmdlinesSize_)) { in SetSavedCmdlinesSize()
|
| D | utilities.cpp | 352 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function
|
| D | perf_events.cpp | 875 CHECK_TRUE(!ReadIntFromProcFile("/proc/sys/kernel/perf_event_max_sample_rate", maxRate), in SetSampleFrequency()
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | utilities.h | 266 bool ReadIntFromProcFile(const std::string &path, int &value);
|
| /developtools/hiperf/include/ |
| D | utilities.h | 272 bool ReadIntFromProcFile(const std::string &path, int &value);
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | utilities.cpp | 301 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function
|