Home
last modified time | relevance | path

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

/developtools/hiperf/test/unittest/common/native/
Dcpu_usage_test.cpp42 float GetAverageCpuUsage(pid_t pid, uint64_t timeOut);
195 float CpuUsageTest::GetAverageCpuUsage(pid_t pid, uint64_t timeOut) in GetAverageCpuUsage() argument
205 > timeOut) { in GetAverageCpuUsage()
224 uint64_t timeOut = 10000; variable
225 float cpuUsage = GetAverageCpuUsage(pid, timeOut);
240 uint64_t timeOut = 10000; variable
241 float cpuUsage = GetAverageCpuUsage(pid, timeOut);
256 uint64_t timeOut = 10000; variable
257 float cpuUsage = GetAverageCpuUsage(pid, timeOut);
272 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.h246 bool SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut);
247 bool WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut);
Dperf_events.h355 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.cpp1003 …mmandRecord::SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut) in SendFifoAndWaitReply() argument
1027 bool ret = WaitFifoReply(fdRead, timeOut); in SendFifoAndWaitReply()
1032 bool SubCommandRecord::WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut) in WaitFifoReply() argument
1037 int polled = poll(&pollFd, 1, timeOut.count()); in WaitFifoReply()
Dperf_events.cpp646 void PerfEvents::SetTimeOut(float timeOut) in SetTimeOut() argument
648 if (timeOut > 0) { in SetTimeOut()
649 timeOut_ = milliseconds(static_cast<int>(timeOut * THOUSANDS)); in SetTimeOut()