Home
last modified time | relevance | path

Searched refs:TO_100_NS (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/
H A Dtime_helper.cpp47 return (curTime * TO_100_NS) + currentIncCount_; // Currently Timestamp is uint64_t in GetSysCurrentTime()
56 if (curTime > (UINT64_MAX / TO_100_NS)) { in GetSysCurrentRawTime()
60 curTime *= TO_100_NS; in GetSysCurrentRawTime()
H A Dtime_helper.h34 static const uint64_t TO_100_NS = 10; // 1us to 100ns variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_sqlite_ext.cpp138 static constexpr uint64_t TO_100_NS = 10; // 1us to 100ns member in __anon7150c7630110::TimeHelper
155 curTime *= TO_100_NS; in GetSysCurrentRawTime()
209 deltaTime * static_cast<int64_t>(TO_100_NS)); in GetTime()
235 … auto changedOffset = static_cast<int64_t>(virtualTimeOffset - monotonicTimeOffset * TO_100_NS); in TimeSkew()
236 … if (std::abs(changedOffset) > static_cast<int64_t>(MAX_NOISE * TO_100_NS)) { // LCOV_EXCL_BR_LINE in TimeSkew()
239 (systemTimeOffset - monotonicTimeOffset) * static_cast<int64_t>(TO_100_NS)); in TimeSkew()
277 return (curTime * TO_100_NS) + currentIncCount_; // Currently Timestamp is uint64_t in GetSysCurrentTime()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_cloud_interfaces_relational_ext_test.cpp44 constexpr static uint64_t TO_100_NS = 10; // 1us to 100ns variable
152 outTime *= TO_100_NS; in GetCurrentSysTimeIn100Ns()
284 int64_t diff = MULTIPLES_BETWEEN_SECONDS_AND_MICROSECONDS * TO_100_NS; in InsertTriggerTest()
439 int64_t diff = MULTIPLES_BETWEEN_SECONDS_AND_MICROSECONDS * TO_100_NS; in UpdateTriggerTest()
531 int64_t diff = MULTIPLES_BETWEEN_SECONDS_AND_MICROSECONDS * TO_100_NS; in __anon41da56cb0802()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dgeneric_syncer.cpp995 static_cast<TimeOffset>(TimeHelper::TO_100_NS); in RecordTimeChangeOffset()