Home
last modified time | relevance | path

Searched refs:timeOut (Results 1 – 10 of 10) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
Dcpu_usage_test.cpp42 float GetAverageCpuUsage(pid_t pid, uint64_t timeOut);
193 float CpuUsageTest::GetAverageCpuUsage(pid_t pid, uint64_t timeOut) in GetAverageCpuUsage() argument
203 > timeOut) { in GetAverageCpuUsage()
222 uint64_t timeOut = 10000; variable
223 float cpuUsage = GetAverageCpuUsage(pid, timeOut);
238 uint64_t timeOut = 10000; variable
239 float cpuUsage = GetAverageCpuUsage(pid, timeOut);
254 uint64_t timeOut = 10000; variable
255 float cpuUsage = GetAverageCpuUsage(pid, timeOut);
270 uint64_t timeOut = 10000; variable
[all …]
/developtools/profiler/hiebpf/test/
Dhiebpf_test_demo.cpp119 std::chrono::seconds timeOut{time}; in ThreadFuncCpp() local
120 const auto endTime = startTime + timeOut; in ThreadFuncCpp()
/developtools/profiler/device/base/include/
Depoll_event_poller.h30 explicit EpollEventPoller(int timeOut);
/developtools/hiperf/include/
Dsubcommand_record.h269 bool SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut);
270 bool WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut);
Dperf_events.h356 void SetTimeOut(float timeOut);
/developtools/profiler/device/base/src/
Depoll_event_poller.cpp29 EpollEventPoller::EpollEventPoller(int timeOut) : timeOut_(timeOut), epollFd_(INVALID_FD), eventFd_… in EpollEventPoller() argument
/developtools/hiperf/interfaces/innerkits/native/src/
Dhiperf_client.cpp577 bool Client::WaitCommandReply(std::chrono::milliseconds timeOut) in WaitCommandReply() argument
586 int polled = poll(&pollFd, 1, timeOut.count()); in WaitCommandReply()
603 (uint64_t)timeOut.count()); in WaitCommandReply()
/developtools/hiperf/src/
Dsubcommand_record.cpp1101 …mmandRecord::SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut) in SendFifoAndWaitReply() argument
1125 bool ret = WaitFifoReply(fdRead, timeOut); in SendFifoAndWaitReply()
1130 bool SubCommandRecord::WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut) in WaitFifoReply() argument
1135 int polled = poll(&pollFd, 1, timeOut.count()); in WaitFifoReply()
Dperf_events.cpp650 void PerfEvents::SetTimeOut(float timeOut) in SetTimeOut() argument
652 if (timeOut > 0) { in SetTimeOut()
653 timeOut_ = milliseconds(static_cast<int>(timeOut * THOUSANDS)); in SetTimeOut()
/developtools/smartperf_host/ide/src/trace/component/
DSpRecordTrace.ts318 }, timeOut);
1392 const timeOut = 200; constant