Home
last modified time | relevance | path

Searched refs:Duration (Results 1 – 19 of 19) sorted by relevance

/base/hiviewdfx/faultloggerd/common/dfxutil/
Delapsed_time.h37 template<typename Duration=std::chrono::nanoseconds>
40 …return std::chrono::duration_cast<Duration>(std::chrono::high_resolution_clock::now() - begin_).co… in Elapsed()
/base/update/updateservice/services/firmware/upgrade/data_processor/include/
Dfirmware_check_data_processor.h31 …CheckStatus status, const Duration &duration, const std::vector<FirmwareComponent> &componentList);
60 Duration duration_;
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_session.rs20 use std::{ffi::{CString, c_char}, thread::sleep, time::Duration};
142 sleep(Duration::from_micros(SEND_RETRY_SLEEP_TIME)); in session_send_msg()
152 sleep(Duration::from_micros(SEND_RETRY_SLEEP_TIME)); in session_send_msg()
/base/update/updateservice/services/firmware/upgrade/executor/include/
Dfirmware_check_executor.h40 Duration duration_;
Dfirmware_iexecutor.h26 … CheckStatus status, const Duration &duration, const std::vector<FirmwareComponent> &componentList,
/base/update/updateservice/services/firmware/utils/include/
Dfirmware_check_analyze_utils.h33 …void DoAnalyze(const std::string &rawJson, std::vector<FirmwareComponent> &components, Duration &d…
/base/update/updateservice/services/firmware/upgrade/flow/src/
Dfirmware_flow_manager.cpp82 void FirmwareFlowManager::OnCheckCallback(CheckStatus status, const Duration &duration, in OnCheckCallback()
132 … FirmwareCheckComponentCallback checkCallback {[=](CheckStatus status, const Duration &duration, in CreateInstance()
/base/update/updateservice/services/firmware/upgrade/mode/include/
Dfirmware_manual_check_mode.h31 void SetCheckResult(CheckStatus status, const Duration &duration,
Dfirmware_iexecute_mode.h37 virtual void SetCheckResult(CheckStatus status, const Duration &duration, in SetCheckResult()
/base/update/updateservice/services/firmware/upgrade/flow/include/
Dfirmware_flow_manager.h40 void OnCheckCallback(CheckStatus status, const Duration &duration,
/base/sensors/sensor/utils/ipc/src/
Dstream_session.cpp74 sleep(Duration::from_micros(SEND_RETRY_SLEEP_TIME)); in SendMsg()
88 sleep(Duration::from_micros(SEND_RETRY_SLEEP_TIME)); in SendMsg()
/base/update/updateservice/services/firmware/upgrade/executor/src/
Dfirmware_check_executor.cpp51 …[=](CheckStatus status, const Duration &duration, const std::vector<FirmwareComponent> &firmwareCh… in DoCheck()
/base/update/updateservice/services/firmware/check/include/
Dfirmware_icheck.h55 using CheckCallback = std::function<void(CheckStatus status, const Duration &duration,
168 Duration duration_;
/base/update/updateservice/services/firmware/upgrade/mode/src/
Dfirmware_manual_check_mode.cpp98 … CheckStatus status, const Duration &duration, const std::vector<FirmwareComponent> &componentList, in SetCheckResult()
/base/update/updateservice/services/firmware/common/include/
Dfirmware_common.h69 struct Duration { struct
/base/request/request/services/service/rust/src/
Dtask_manager.rs23 use std::{collections::HashMap, ffi::CString, ffi::c_char, fs::File, time::Duration};
94 sleep(Duration::from_millis(INTERVAL_MILLISECONDS)).await; in monitor_task()
159 sleep(Duration::from_secs(DUMP_INTERVAL)).await; in dump_all_task_info()
737 sleep(Duration::from_secs(60)).await; in unload_sa()
786 sleep(Duration::from_millis(MILLISECONDS_IN_ONE_SECONDS)).await; in remove_task_from_map()
829 sleep(Duration::from_secs(WAITTING_RETRY_INTERVAL)).await; in net_work_change_callback()
Drequest_task.rs16 use std::{ffi::CString, ffi::c_char, fs::File, pin::Pin, thread::sleep, time::Duration, cell::Unsaf…
388 sleep(Duration::from_millis(RETRY_INTERVAL)); in net_work_online()
/base/update/updateservice/services/firmware/upgrade/data_processor/src/
Dfirmware_check_data_processor.cpp49 … CheckStatus status, const Duration &duration, const std::vector<FirmwareComponent> &componentList) in SetCheckResult()
/base/update/updateservice/services/firmware/utils/src/
Dfirmware_check_analyze_utils.cpp37 Duration &duration, CheckAndAuthInfo &checkAndAuthInfo) in DoAnalyze()