Home
last modified time | relevance | path

Searched refs:SystemTime (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/test/unittest/
H A Dvsync_generator_test.cpp27 static int64_t SystemTime() in SystemTime() function
257 int64_t referenceTime = SystemTime();
278 int64_t referenceTime = SystemTime();
299 int64_t referenceTime = SystemTime();
320 int64_t referenceTime = SystemTime();
326 int64_t now = SystemTime();
342 int64_t referenceTime = SystemTime();
348 int64_t now = SystemTime();
370 int64_t now = SystemTime();
392 int64_t now = SystemTime();
[all …]
/ohos5.0/base/security/asset/frameworks/utils/src/
H A Dtime.rs18 use std::time::{SystemTime, UNIX_EPOCH};
24 match SystemTime::now().duration_since(UNIX_EPOCH) { in system_time_in_millis()
32 match SystemTime::now().duration_since(UNIX_EPOCH) { in system_time_in_seconds()
/ohos5.0/base/request/request/services/src/utils/
H A Dtask_id_generator.rs16 use std::time::{SystemTime, UNIX_EPOCH};
27 let task_id = match SystemTime::now().duration_since(UNIX_EPOCH) { in generate()
H A Dmod.rs19 use std::time::{SystemTime, UNIX_EPOCH};
61 match SystemTime::now().duration_since(UNIX_EPOCH) { in get_current_timestamp()
/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Dtest_observer.cpp79 int64_t startTime = SystemTime::GetNowSysTime(); in WaitForFinish()
81 int64_t nowSysTime = SystemTime::GetNowSysTime(); in WaitForFinish()
H A Dsystem_time.cpp25 int64_t SystemTime::GetNowSysTime() in GetNowSysTime()
/ohos5.0/base/request/request/services/tests/
H A Dsearch.rs14 use std::time::{SystemTime, UNIX_EPOCH};
21 match SystemTime::now().duration_since(UNIX_EPOCH) { in get_current_timestamp()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/
H A Dlib.rs27 use std::time::{UNIX_EPOCH, SystemTime};
78 let happen_time = SystemTime::now().duration_since(UNIX_EPOCH).unwrap().as_millis(); in report_info_handler()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
H A Dhgm_one_shot_timer.cpp27 static inline nsecs_t SystemTime() in SystemTime() function
37 const nsecs_t timeout = SystemTime() + timestamp.count(); in CalculateTimeoutTime()
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/
H A Dsystem_time.h23 class SystemTime {
/ohos5.0/base/notification/common_event_service/services/include/
H A Dsystem_time.h23 class SystemTime {
/ohos5.0/base/notification/common_event_service/services/src/
H A Dsystem_time.cpp25 int64_t SystemTime::GetNowSysTime() in GetNowSysTime()
H A Dpublish_manager.cpp36 int64_t now = SystemTime::GetNowSysTime(); in CheckIsFloodAttack()
H A Dinner_common_event_manager.cpp305 int64_t taskStartTime = SystemTime::GetNowSysTime(); in SubscribeCommonEvent()
339 int64_t now = SystemTime::GetNowSysTime(); in SubscribeCommonEvent()
459 uid, true, SystemTime::GetNowSysTime()); in Freeze()
477 pidList, isFreeze, SystemTime::GetNowSysTime()); in SetFreezeStatus()
H A Dcommon_event_control_manager.cpp576 uint64_t nowSysTime = static_cast<uint64_t>(SystemTime::GetNowSysTime()); in ProcessNextOrderedEvent()
630 sp->receiverTime = SystemTime::GetNowSysTime(); in SetTime()
688 int64_t nowSysTime = SystemTime::GetNowSysTime(); in CurrentOrderedEventTimeout()
H A Dcommon_event_manager_service.cpp257 int64_t startTime = SystemTime::GetNowSysTime(); in SubscribeCommonEvent()
/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/system_time/
H A Dsystem_time_test.cpp55 SystemTime systemTime;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/composer/vsync/src/
H A Dvsync_generator.cpp41 static int64_t SystemTime() in SystemTime() function
150 int64_t newOccurTimestamp = SystemTime(); in ListenerVsyncEventCB()
199 occurTimestamp = SystemTime(); in ThreadLoop()
463 if (t - SystemTime() < errorThreshold) { in GetListenerTimeoutedLTPO()
560 listener.lastTime_ = SystemTime() - period_ + phase_; in AddListener()
612 auto now = SystemTime(); in SetExpectNextVsyncTimeInternal()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_hardware_thread.cpp79 static int64_t SystemTime() in SystemTime() function
236 int64_t currTime = SystemTime(); in CommitAndReleaseLayers()
H A Drs_main_thread.cpp198 static int64_t SystemTime() in SystemTime() function
4276 int64_t currentTimestamp = SystemTime(); in SetFrameInfo()
/ohos5.0/base/request/request/services/src/manage/
H A Ddatabase.rs462 use std::time::{SystemTime, UNIX_EPOCH}; in delete_early_records()
465 if let Ok(time) = SystemTime::now().duration_since(UNIX_EPOCH) { in delete_early_records()