Home
last modified time | relevance | path

Searched refs:ReadIntFromProcFile (Results 1 – 8 of 8) sorted by relevance

/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dutilities_test.cpp542 HWTEST_F(UtilitiesTest, ReadIntFromProcFile, TestSize.Level1)
546 EXPECT_EQ(ReadIntFromProcFile(strPath, strLen), true);
/developtools/hiperf/test/unittest/common/native/
Dutilities_test.cpp537 HWTEST_F(UtilitiesTest, ReadIntFromProcFile, TestSize.Level1)
541 EXPECT_EQ(ReadIntFromProcFile(strPath, strLen), true);
/developtools/hiperf/src/
Dsubcommand_record.cpp641 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()
Dutilities.cpp341 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function
Dperf_events.cpp753 if (!ReadIntFromProcFile("/proc/sys/kernel/perf_event_max_sample_rate", maxRate)) { in SetSampleFrequency()
/developtools/profiler/device/plugins/native_daemon/include/
Dutilities.h265 bool ReadIntFromProcFile(const std::string &path, int &value);
/developtools/hiperf/include/
Dutilities.h273 bool ReadIntFromProcFile(const std::string &path, int &value);
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp284 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function