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.cpp548 HWTEST_F(UtilitiesTest, ReadIntFromProcFile, TestSize.Level1)
552 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.cpp706 …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()
Dutilities.cpp352 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function
Dperf_events.cpp875 CHECK_TRUE(!ReadIntFromProcFile("/proc/sys/kernel/perf_event_max_sample_rate", maxRate), in SetSampleFrequency()
/developtools/profiler/device/plugins/native_daemon/include/
Dutilities.h266 bool ReadIntFromProcFile(const std::string &path, int &value);
/developtools/hiperf/include/
Dutilities.h272 bool ReadIntFromProcFile(const std::string &path, int &value);
/developtools/profiler/device/plugins/native_daemon/src/
Dutilities.cpp301 bool ReadIntFromProcFile(const std::string &path, int &value) in ReadIntFromProcFile() function