Searched refs:timeOut (Results 1 – 9 of 9) sorted by relevance
/developtools/hiperf/test/unittest/common/native/ |
D | cpu_usage_test.cpp | 42 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/ |
D | hiebpf_test_demo.cpp | 119 std::chrono::seconds timeOut{time}; in ThreadFuncCpp() local 120 const auto endTime = startTime + timeOut; in ThreadFuncCpp()
|
/developtools/profiler/device/base/include/ |
D | epoll_event_poller.h | 30 explicit EpollEventPoller(int timeOut);
|
/developtools/hiperf/include/ |
D | subcommand_record.h | 246 bool SendFifoAndWaitReply(const std::string &cmd, const std::chrono::milliseconds &timeOut); 247 bool WaitFifoReply(int fd, const std::chrono::milliseconds &timeOut);
|
D | perf_events.h | 355 void SetTimeOut(float timeOut);
|
/developtools/profiler/device/base/src/ |
D | epoll_event_poller.cpp | 29 EpollEventPoller::EpollEventPoller(int timeOut) : timeOut_(timeOut), epollFd_(INVALID_FD), eventFd_… in EpollEventPoller() argument
|
/developtools/hiperf/interfaces/innerkits/native/src/ |
D | hiperf_client.cpp | 577 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/ |
D | subcommand_record.cpp | 1003 …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()
|
D | perf_events.cpp | 646 void PerfEvents::SetTimeOut(float timeOut) in SetTimeOut() argument 648 if (timeOut > 0) { in SetTimeOut() 649 timeOut_ = milliseconds(static_cast<int>(timeOut * THOUSANDS)); in SetTimeOut()
|