Home
last modified time | relevance | path

Searched refs:seconds (Results 1 - 23 of 23) sorted by relevance

/developtools/profiler/device/base/include/
H A Di_semaphore.h26 bool TimedWait(int seconds) in TimedWait() argument
28 return TimedWait(seconds, 0); in TimedWait()
30 virtual bool TimedWait(int seconds, int nanoSeconds) = 0;
/developtools/profiler/device/base/src/
H A Dstd_semaphore.cpp46 bool StdSemaphore::TimedWait(int seconds, int nanoSeconds) in TimedWait() argument
51 timePoint += std::chrono::seconds(seconds); in TimedWait()
H A Dposix_semaphore.cpp43 bool PosixSemaphore::TimedWait(int seconds, int nanoSeconds) in TimedWait() argument
47 ts.tv_sec += seconds; in TimedWait()
H A Dposix_semaphore.h28 bool TimedWait(int seconds, int nanoSeconds) override;
H A Dstd_semaphore.h29 bool TimedWait(int seconds, int nanoSeconds) override;
/developtools/integration_verification/DeployDevice/src/util/
H A Dtime_info.py84 def timeout(seconds = 300):
100 thd.join(seconds)
108 raise Timeout(u"function run too long, timeout %d seconds." % seconds)
111 logger.info(u"function run too long, timeout %d seconds." % seconds)
/developtools/smartperf_host/trace_streamer/src/base/
H A Dstring_to_numerical.h42 double seconds = static_cast<double>(timestamp) / 1e9; in ConvertTimestampToSecStr() local
44 ss << std::fixed << std::setprecision(precision) << seconds; in ConvertTimestampToSecStr()
/developtools/hdc/src/common/
H A Dcircle_buffer.cpp101 auto duration = std::chrono::duration_cast<std::chrono::seconds>(end - begin); in FreeMemory()
153 timerCv_.wait_for(lock, std::chrono::seconds(1)); in TimerSleep()
H A Dfile_descriptor.cpp316 writeCond.wait_for(lock, std::chrono::seconds(WAIT_SECONDS), [&]() { in WaitWrite()
H A Dbase.cpp115 time_t sSinceUnix0 = duration_cast<seconds>(sinceUnix0).count(); in GetLogLevelAndTime()
188 time_t sinceUnix0Time = duration_cast<seconds>(sinceUnix0).count(); in GetTimeString()
/developtools/profiler/host/smartperf/client/client_command/
H A Dheartbeat.cpp56 auto duration = std::chrono::duration_cast<std::chrono::seconds>(end - updateStart).count(); in HeartbeatRule()
/developtools/profiler/device/plugins/native_daemon/include/
H A Dstack_preprocess.h207 std::chrono::seconds statisticsInterval_ {0};
217 std::chrono::seconds applyAndReleaseMatchInterval_{0};
/developtools/integration_verification/cases/daily/mini_system/
H A DL0_mini_system_test.py69 while (time_end - time_start).seconds < timeout:
H A DL1_mini_system_test.py62 while (time_end - time_start).seconds < timeout:
/developtools/profiler/hiebpf/test/
H A Dhiebpf_test_demo.cpp119 std::chrono::seconds timeOut{time}; in ThreadFuncCpp()
180 printf("Command error,Please input:thread Num, run seconds, sleep us\n"); in main()
/developtools/hiperf/demo/cpp/
H A Dhiperf_example_cmd.cpp145 auto sleepTime = now + seconds(1); in LoopFunction()
150 sleepTime = std::chrono::steady_clock::now() + seconds(1); in LoopFunction()
/developtools/hiperf/src/
H A Dutilities.cpp602 printf("please restart %s for profiling within 30 seconds\n", appPackage.c_str()); in IsRestarted()
607 const auto endTime = startTime + std::chrono::seconds(CHECK_TIMEOUT); in IsRestarted()
619 printf("app %s was not stopped within 30 seconds\n", appPackage.c_str()); in IsRestarted()
630 const auto endTime = startTime + std::chrono::seconds(waitAppTimeOut); in GetAppPackagePid()
/developtools/profiler/device/plugins/native_daemon/src/
H A Dstack_preprocess.cpp90 statisticsInterval_ = std::chrono::seconds(hookConfig_.statistics_interval()); in StackPreprocess()
96 applyAndReleaseMatchInterval_ = std::chrono::seconds(hookConfig_.malloc_free_matching_interval()); in StackPreprocess()
224 auto elapsedTime = std::chrono::duration_cast<std::chrono::seconds>(currentTime - lastStatisticsTime); in IntervalFlushApplyAndReleaseMatchData()
/developtools/profiler/device/cmds/src/
H A Dmain.cpp277 g_keepSessionCv.wait_for(lck, std::chrono::seconds(KEEP_SESSION_SLEEP_SECOND)); in StartThread()
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/
H A Dcode_signing.cpp131 auto nowSeconds = std::chrono::time_point_cast<std::chrono::seconds>(now); in GetTimestamp()
/developtools/hdc/src/host/
H A Dclient.cpp734 std::this_thread::sleep_for(std::chrono::seconds(timeout)); in WaitFor()
/developtools/profiler/hiebpf/src/
H A Dbpf_controller.cpp475 const auto endTime = std::chrono::steady_clock::now() + std::chrono::seconds(config_.traceDuration_); in Start()
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h44673 u64 seconds; member
[all...]

Completed in 468 milliseconds