/developtools/profiler/device/base/include/ |
H A D | i_semaphore.h | 26 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 D | std_semaphore.cpp | 46 bool StdSemaphore::TimedWait(int seconds, int nanoSeconds) in TimedWait() argument 51 timePoint += std::chrono::seconds(seconds); in TimedWait()
|
H A D | posix_semaphore.cpp | 43 bool PosixSemaphore::TimedWait(int seconds, int nanoSeconds) in TimedWait() argument 47 ts.tv_sec += seconds; in TimedWait()
|
H A D | posix_semaphore.h | 28 bool TimedWait(int seconds, int nanoSeconds) override;
|
H A D | std_semaphore.h | 29 bool TimedWait(int seconds, int nanoSeconds) override;
|
/developtools/integration_verification/DeployDevice/src/util/ |
H A D | time_info.py | 84 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 D | string_to_numerical.h | 42 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 D | circle_buffer.cpp | 101 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 D | file_descriptor.cpp | 316 writeCond.wait_for(lock, std::chrono::seconds(WAIT_SECONDS), [&]() { in WaitWrite()
|
H A D | base.cpp | 115 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 D | heartbeat.cpp | 56 auto duration = std::chrono::duration_cast<std::chrono::seconds>(end - updateStart).count(); in HeartbeatRule()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | stack_preprocess.h | 207 std::chrono::seconds statisticsInterval_ {0}; 217 std::chrono::seconds applyAndReleaseMatchInterval_{0};
|
/developtools/integration_verification/cases/daily/mini_system/ |
H A D | L0_mini_system_test.py | 69 while (time_end - time_start).seconds < timeout:
|
H A D | L1_mini_system_test.py | 62 while (time_end - time_start).seconds < timeout:
|
/developtools/profiler/hiebpf/test/ |
H A D | hiebpf_test_demo.cpp | 119 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 D | hiperf_example_cmd.cpp | 145 auto sleepTime = now + seconds(1); in LoopFunction() 150 sleepTime = std::chrono::steady_clock::now() + seconds(1); in LoopFunction()
|
/developtools/hiperf/src/ |
H A D | utilities.cpp | 602 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 D | stack_preprocess.cpp | 90 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 D | main.cpp | 277 g_keepSessionCv.wait_for(lck, std::chrono::seconds(KEEP_SESSION_SLEEP_SECOND)); in StartThread()
|
/developtools/hapsigner/hapsigntool_cpp/codesigning/sign/src/ |
H A D | code_signing.cpp | 131 auto nowSeconds = std::chrono::time_point_cast<std::chrono::seconds>(now); in GetTimestamp()
|
/developtools/hdc/src/host/ |
H A D | client.cpp | 734 std::this_thread::sleep_for(std::chrono::seconds(timeout)); in WaitFor()
|
/developtools/profiler/hiebpf/src/ |
H A D | bpf_controller.cpp | 475 const auto endTime = std::chrono::steady_clock::now() + std::chrono::seconds(config_.traceDuration_); in Start()
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 44673 u64 seconds; member [all...] |