Home
last modified time | relevance | path

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

/developtools/hiperf/test/unittest/common/native/
H A Dcpu_usage_test.cpp43 float GetAverageCpuUsage(pid_t pid, uint64_t timeOut);
203 float CpuUsageTest::GetAverageCpuUsage(pid_t pid, uint64_t timeOut) in GetAverageCpuUsage() argument
213 > timeOut) { in GetAverageCpuUsage()
233 uint64_t timeOut = 10000; in TestCpuUsage() local
234 float cpuUsage = GetAverageCpuUsage(pid, timeOut); in TestCpuUsage()
/developtools/profiler/hiebpf/test/
H A Dhiebpf_test_demo.cpp119 std::chrono::seconds timeOut{time}; in ThreadFuncCpp()
120 const auto endTime = startTime + timeOut; in ThreadFuncCpp()
/developtools/profiler/device/base/include/
H A Depoll_event_poller.h30 explicit EpollEventPoller(int timeOut);
/developtools/hiperf/include/
H A Dsubcommand_record.h284 bool SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut);
285 bool WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut);
H A Dperf_events.h369 void SetTimeOut(float timeOut);
581 std::chrono::milliseconds timeReport_; // means same as timeOut
/developtools/profiler/device/base/src/
H A Depoll_event_poller.cpp29 EpollEventPoller::EpollEventPoller(int timeOut) : timeOut_(timeOut), epollFd_(INVALID_FD), eventFd_(INVALID_FD) {} in EpollEventPoller() argument
/developtools/hiperf/interfaces/innerkits/native/src/
H A Dhiperf_client.cpp636 bool Client::WaitCommandReply(std::chrono::milliseconds timeOut) in WaitCommandReply() argument
645 int polled = poll(&pollFd, 1, timeOut.count()); in WaitCommandReply()
662 (uint64_t)timeOut.count()); in WaitCommandReply()
/developtools/hiperf/src/
H A Dsubcommand_record.cpp1141 bool SubCommandRecord::SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut) in SendFifoAndWaitReply() argument
1165 bool ret = WaitFifoReply(fdRead, timeOut); in SendFifoAndWaitReply()
1170 bool SubCommandRecord::WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut) in WaitFifoReply() argument
1175 int polled = poll(&pollFd, 1, timeOut.count()); in WaitFifoReply()
H A Dperf_events.cpp778 void PerfEvents::SetTimeOut(float timeOut) in SetTimeOut() argument
780 if (timeOut > 0) { in SetTimeOut()
781 timeOut_ = milliseconds(static_cast<int>(timeOut * THOUSANDS)); in SetTimeOut()

Completed in 12 milliseconds