Searched refs:timeOut (Results 1 - 9 of 9) sorted by relevance
/developtools/hiperf/test/unittest/common/native/ |
H A D | cpu_usage_test.cpp | 43 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 D | hiebpf_test_demo.cpp | 119 std::chrono::seconds timeOut{time}; in ThreadFuncCpp() 120 const auto endTime = startTime + timeOut; in ThreadFuncCpp()
|
/developtools/profiler/device/base/include/ |
H A D | epoll_event_poller.h | 30 explicit EpollEventPoller(int timeOut);
|
/developtools/hiperf/include/ |
H A D | subcommand_record.h | 284 bool SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut); 285 bool WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut);
|
H A D | perf_events.h | 369 void SetTimeOut(float timeOut); 581 std::chrono::milliseconds timeReport_; // means same as timeOut
|
/developtools/profiler/device/base/src/ |
H A D | epoll_event_poller.cpp | 29 EpollEventPoller::EpollEventPoller(int timeOut) : timeOut_(timeOut), epollFd_(INVALID_FD), eventFd_(INVALID_FD) {} in EpollEventPoller() argument
|
/developtools/hiperf/interfaces/innerkits/native/src/ |
H A D | hiperf_client.cpp | 636 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 D | subcommand_record.cpp | 1141 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 D | perf_events.cpp | 778 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 18 milliseconds