/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | g1_analytics_test.cpp | 71 static void FillAnalyticsUndefinedBehaviorTest(G1Analytics &analytics, const CollectionSet &collectionSet, uint64_t now) in FillAnalyticsUndefinedBehaviorTest() argument 73 analytics.ReportCollectionStart(now); in FillAnalyticsUndefinedBehaviorTest() 81 analytics.ReportScanDirtyCardsStart(now + delta); in FillAnalyticsUndefinedBehaviorTest() 86 analytics.ReportScanDirtyCardsEnd(now + delta, dirtyCardsCount); in FillAnalyticsUndefinedBehaviorTest() 90 analytics.ReportMarkingStart(now + delta); in FillAnalyticsUndefinedBehaviorTest() 95 analytics.ReportMarkingEnd(now + delta, remsetRefsCount); in FillAnalyticsUndefinedBehaviorTest() 99 analytics.ReportEvacuationStart(now + delta); in FillAnalyticsUndefinedBehaviorTest() 103 analytics.ReportEvacuationEnd(now + delta); in FillAnalyticsUndefinedBehaviorTest() 104 analytics.ReportUpdateRefsStart(now + delta); in FillAnalyticsUndefinedBehaviorTest() 108 analytics.ReportUpdateRefsEnd(now in FillAnalyticsUndefinedBehaviorTest() 119 uint64_t now = START_TIME; TEST_F() local 132 FillAnalyticsPause0AllPromotedUndefinedBehaviorTest(G1Analytics &analytics, const CollectionSet &collectionSet, uint64_t now) TEST_F() argument 181 FillAnalyticsPause1AllPromotedUndefinedBehaviorTest(G1Analytics &analytics, const CollectionSet &collectionSet, uint64_t now) FillAnalyticsPause1AllPromotedUndefinedBehaviorTest() argument 233 uint64_t now = START_TIME; TEST_F() local 258 FillAnalyticsPause0PredictionTest(G1Analytics &analytics, const CollectionSet &collectionSet, uint64_t now) FillAnalyticsPause0PredictionTest() argument 310 FillAnalyticsPause1PredictionTest(G1Analytics &analytics, const CollectionSet &collectionSet, uint64_t now) FillAnalyticsPause1PredictionTest() argument 363 FillAnalyticsPause2PredictionTest(G1Analytics &analytics, const CollectionSet &collectionSet, uint64_t now) FillAnalyticsPause2PredictionTest() argument 416 uint64_t now = START_TIME; TEST_F() local [all...] |
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | time_utils.cpp | 48 std::tm *now = std::localtime(&seconds); in GetCurrentTimeString() local 49 ASSERT(now != nullptr); in GetCurrentTimeString() 50 if (std::strftime(dateBuffer.data(), DATE_BUFFER_SIZE, "%b %d %T", now) == 0U) { in GetCurrentTimeString() 63 std::tm *now = std::localtime(&time); in GetCurrentTimeString() local 64 ASSERT(now != nullptr); in GetCurrentTimeString() 66 if (std::strftime(buffer.data(), buffer.size(), format, now) != 0) { in GetCurrentTimeString()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | clock_scope.h | 30 start_ = Clock::now(); in ClockScope() 35 start_ = Clock::now(); in Reset() 40 return Clock::now() - start_; in GetPauseTime() 45 auto duration = std::chrono::duration_cast<std::chrono::microseconds>(Clock::now() - start_); in TotalSpentTime() 51 return std::chrono::duration_cast<std::chrono::microseconds>(Clock::now() - start_).count(); in TotalSpentTimeInMicroseconds()
|
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/ |
H A D | caller_stat.cpp | 42 void PandaRuntimeTimer::Pause(uint64_t now) in Pause() argument 47 elapsed_ += (now - start_); in Pause() 51 void PandaRuntimeTimer::Resume(uint64_t now) in Resume() argument 56 start_ = now; in Resume()
|
H A D | caller_stat.h | 120 void Pause(uint64_t now); 121 void Resume(uint64_t now);
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/templates/ |
H A D | Template-ArkTS-NodeJS-Interop.js | 63 static pseudorand = Date.now(); 141 let start = Date.now(); 145 loopMs = Date.now() - start; 161 let start = Date.now(); 166 elapsedMs = Date.now() - start; 175 log('Startup execution started: ' + Date.now() * MS2NS);
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/benchmarks/ |
H A D | launcher.js | 59 let start = Date.now(); 61 let timeNs = (Date.now() - start) * MS2NS; 64 start = Date.now(); 66 timeNs = (Date.now() - start) * MS2NS;
|
/arkcompiler/ets_runtime/ecmascript/jit/ |
H A D | jit_dfx.h | 47 maxLockHoldingTime_(0), start_(Clock::now()), blockUIEventstart_(Clock::now()) {} in JitEventParams() 220 jitEventParams.start_ = Clock::now(); in ResetCompilerTime() 225 jitEventParams.blockUIEventstart_ = Clock::now(); in ResetBlockUIEventTime() 230 return std::chrono::duration_cast<std::chrono::seconds>(Clock::now() - in ReportBlockUIEvent() 254 return std::chrono::duration_cast<std::chrono::seconds>(Clock::now() - jitEventParams.start_).count() >= in checkUploadConditions()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
H A D | mpl_timer.h | 33 startTime = std::chrono::system_clock::now(); in Start() 38 endTime = std::chrono::system_clock::now(); in Stop() 73 startTime = std::chrono::system_clock::now(); 79 useTime += (std::chrono::system_clock::now() - startTime);
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | time.cpp | 26 return std::chrono::duration_cast<T>(std::chrono::system_clock::now().time_since_epoch()).count(); in GetCurrentTime() 28 return std::chrono::duration_cast<T>(std::chrono::high_resolution_clock::now().time_since_epoch()).count(); in GetCurrentTime()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | time.cpp | 26 return std::chrono::duration_cast<T>(std::chrono::system_clock::now().time_since_epoch()).count(); in GetCurrentTime() 28 return std::chrono::duration_cast<T>(std::chrono::high_resolution_clock::now().time_since_epoch()).count(); in GetCurrentTime()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks-interop-freestyle/CRC32/bu_CRC32_sts_loop/ |
H A D | bench_CRC32_sts_loop.js | 36 let start = Date.now(); 41 let timeNs = (Date.now() - start) * MS2NS;
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks-interop-freestyle/CRC32/bu_CRC32_js_loop/ |
H A D | bench_CRC32_js_loop.js | 36 let start = Date.now(); 43 let timeNs = (Date.now() - start) * MS2NS;
|
/arkcompiler/ets_runtime/ecmascript/intl/ |
H A D | global_intl_helper.cpp | 60 std::tm *now = std::gmtime(&tt); in ConvertDateToUnit() local 62 static_cast<uint64_t>(now->tm_year + baseYear), in ConvertDateToUnit() 63 static_cast<uint64_t>(now->tm_mon + 1), in ConvertDateToUnit() 64 static_cast<uint64_t>(now->tm_mday), in ConvertDateToUnit() 65 static_cast<uint64_t>(now->tm_hour), in ConvertDateToUnit() 66 static_cast<uint64_t>(now->tm_min), in ConvertDateToUnit() 67 static_cast<uint64_t>(now->tm_sec) in ConvertDateToUnit()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/ |
H A D | run_test.js | 43 let start = Date.now(); 45 let timeNs = (Date.now() - start) * MS2NS;
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/examples/benchmarks-interop-freestyle/CRC32/bu_CRC32_sts_state/ |
H A D | bench_CRC32_sts_state.js | 57 let start = Date.now(); 63 let timeNs = (Date.now() - start) * MS2NS;
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | escompat_Date.cpp | 30 auto now = std::chrono::system_clock::now(); in EscompatDateNow() local 31 auto nowMs = std::chrono::time_point_cast<std::chrono::milliseconds>(now); in EscompatDateNow()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | scheduler.cpp | 430 // Compare function for 'now' queue in SchedWithGlued() 433 SchedulerPriorityQueue now(cmpOld, GetGraph()->GetLocalAllocator()->Adapter()); in SchedWithGlued() 434 // Add inst into 'now' in SchedWithGlued() 435 ASSERT(now.empty()); in SchedWithGlued() 436 now.push(inst); in SchedWithGlued() 438 // Add glued instructions into 'now' in SchedWithGlued() 443 now.push(user); in SchedWithGlued() 448 ASSERT(now.size() <= MAX_NOW_SIZE); in SchedWithGlued() 451 while (!now.empty()) { in SchedWithGlued() 452 auto cur = now in SchedWithGlued() [all...] |
/arkcompiler/runtime_core/compiler/optimizer/ |
H A D | pass_manager_statistics.cpp | 90 std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - last_timestamp_) in ProcessBeforeRun() 111 last_timestamp_ = std::chrono::steady_clock::now(); in ProcessBeforeRun() 128 std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - last_timestamp_) in ProcessAfterRun() 146 last_timestamp_ = std::chrono::steady_clock::now(); in ProcessAfterRun()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ |
H A D | pass_manager_statistics.cpp | 91 std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - lastTimestamp_) in ProcessBeforeRun() 112 lastTimestamp_ = std::chrono::steady_clock::now(); in ProcessBeforeRun() 129 std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - lastTimestamp_) in ProcessAfterRun() 147 lastTimestamp_ = std::chrono::steady_clock::now(); in ProcessAfterRun()
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/ |
H A D | main.py | 53 start = datetime.now(pytz.UTC) 74 finish = datetime.now(pytz.UTC)
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | aot_compiler_stats.h | 67 start_ = Clock::now(); in StartCompiler() 72 end_ = Clock::now(); in EndCompiler()
|
/arkcompiler/ets_runtime/test/workloadtest/ |
H A D | work_load.py | 216 now = datetime.datetime.now() 217 name = "".join([now.strftime("%Y%m%d%H%M%S") + "_pgo_daily.xlsx"]) 264 start_time = datetime.datetime.now() 293 end_time = datetime.datetime.now()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | helpers.py | 159 tz = datetime.now(timezone.utc).astimezone().tzinfo 163 self.begin = datetime.now(timezone.utc) 173 self.begin = datetime.now(timezone.utc) 177 self.end = datetime.now(timezone.utc)
|
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/ |
H A D | runner.rb | 83 start = Time.now 85 while (Time.now - start) <= $TIMEOUT
|