/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() 43 return std::chrono::duration_cast<std::chrono::seconds>(endTime - startTime).count(); in Elapsed() 48 return std::chrono::duration_cast<std::chrono::milliseconds>(endTime - startTime).count(); in ElapsedMilliseconds() 53 return std::chrono::duration_cast<std::chrono::microseconds>(endTime - startTime).count(); in ElapsedMicroseconds() 57 std::chrono::system_clock::time_point startTime; member in maple::MPLTimer 73 startTime = std::chrono::system_clock::now(); 79 useTime += (std::chrono::system_clock::now() - startTime); 88 std::chrono::system_clock::time_point startTime; member
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | incremental_marker.cpp | 35 double startTime = GetCurrentTimeInMs(); in TriggerIncrementalMark() local 39 ProcessIncrementalMark(idleMicroSec - (GetCurrentTimeInMs() - startTime)); in TriggerIncrementalMark() 40 RecordIdleTime(idleMicroSec, startTime, true); in TriggerIncrementalMark() 44 RecordIdleTime(idleMicroSec, startTime); in TriggerIncrementalMark() 49 RecordIdleTime(idleMicroSec, startTime); in TriggerIncrementalMark() 135 void IncrementalMarker::RecordIdleTime(int64_t idleMicroSec, double startTime, bool needInitialize) in RecordIdleTime() argument 142 double usedIdleTime = GetCurrentTimeInMs() - startTime; in RecordIdleTime()
|
H A D | parallel_marker.cpp | 180 double startTime = heap_->GetIncrementalMarker()->GetCurrentTimeInMs(); in ProcessIncrementalMarkStack() local 181 double costTime = startTime; in ProcessIncrementalMarkStack() 190 costTime = heap_->GetIncrementalMarker()->GetCurrentTimeInMs() - startTime; in ProcessIncrementalMarkStack() 196 costTime = heap_->GetIncrementalMarker()->GetCurrentTimeInMs() - startTime; in ProcessIncrementalMarkStack()
|
H A D | incremental_marker.h | 86 void RecordIdleTime(int64_t idleMicroSec, double startTime, bool needInitialize = false);
|
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/ |
H A D | sampling_processor.cpp | 41 uint64_t startTime = generator->GetThreadStartTime(); in Run() local 42 uint64_t endTime = startTime; in Run() 45 startTime = GetMicrosecondsTimeStamp(); in Run() 46 int64_t ts = static_cast<int64_t>(interval) - static_cast<int64_t>(startTime - endTime); in Run() 47 endTime = startTime; in Run()
|
H A D | cpu_profiler.cpp | 106 uint64_t startTime = SamplingProcessor::GetMicrosecondsTimeStamp(); in StartCpuProfilerForInfo() local 107 generator_->SetThreadStartTime(startTime); in StartCpuProfilerForInfo() 164 uint64_t startTime = SamplingProcessor::GetMicrosecondsTimeStamp(); in StartCpuProfilerForFile() local 165 generator_->SetThreadStartTime(startTime); in StartCpuProfilerForFile()
|
H A D | samples_record.cpp | 106 (previousTimeStamp_ == 0 ? profileInfo_->startTime : previousTimeStamp_)); in AddSample() 127 (previousTimeStamp_ == 0 ? profileInfo_->startTime : previousTimeStamp_)); in AddEmptyStackSample() 149 + std::to_string(profileInfo_->tid) + ",\"startTime\":" in StringifySampleData() 150 + std::to_string(profileInfo_->startTime) + ",\"endTime\":" in StringifySampleData() 355 profileInfo_->startTime = threadStartTime; in SetThreadStartTime() 360 return profileInfo_->startTime; in GetThreadStartTime()
|
H A D | samples_record.h | 60 uint64_t startTime = 0;
member
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | timers.cpp | 68 if (timePointRecord.startTime != std::chrono::steady_clock::time_point() && in ProcessTimePointRecord() 70 auto duration = timePointRecord.endTime - timePointRecord.startTime; in ProcessTimePointRecord() 82 (timePointRecord.startTime == std::chrono::steady_clock::time_point() ? in ProcessTimePointRecord() 147 tpr.startTime = std::chrono::steady_clock::now(); in TimerStartImpl()
|
H A D | timers.h | 85 TimePoint startTime; member
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/gc-hung/ |
H A D | gc_hung.h | 80 static void Check(const PandaList<MTManagedThread *> &threads, uint64_t startTime); 107 void CheckSuspend(const PandaList<MTManagedThread *> &threads, uint64_t startTime);
|
H A D | gc_hung.cpp | 175 void GcHung::CheckSuspend(const PandaList<MTManagedThread *> &threads, uint64_t startTime) in CheckSuspend() argument 187 << helpers::TimeConverter(time::GetCurrentTimeInNanos() - startTime) << std::endl; in CheckSuspend() 285 void GcHung::Check(const PandaList<MTManagedThread *> &threads, uint64_t startTime) in Check() argument 288 instance_->CheckSuspend(threads, startTime); in Check()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/taskmanager/ |
H A D | task_manager_gc_corner_case_test.cpp | 101 const auto startTime = std::chrono::system_clock::now(); in LoadRunner() local 105 } while ((std::chrono::system_clock::now() - startTime) < time); in LoadRunner()
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | g1_analytics_test.cpp | 121 auto startTime = now + startTimeDelta; in TEST_F() local 122 G1Analytics analytics(startTime); in TEST_F() 235 auto startTime = now + startTimeDelta; in TEST_F() local 237 G1Analytics analytics(startTime); in TEST_F() 418 auto startTime = now + startTimeDelta; in TEST_F() local 419 G1Analytics analytics(startTime); in TEST_F()
|
H A D | compiler_queue_test.cpp | 117 uint64_t startTime = time::GetCurrentTimeInMillis(); in WaitForExpire() local 123 while (time::GetCurrentTimeInMillis() < startTime + millis) { in WaitForExpire()
|
/arkcompiler/ets_runtime/ecmascript/quick_fix/ |
H A D | main.cpp | 65 auto startTime = in Main() local 94 << "Startup start time: " << startTime << std::endl; in Main()
|
/arkcompiler/runtime_core/static_core/panda/ |
H A D | panda.cpp | 183 auto startTime = in Main() local 194 std::cout << "\n" << "Startup start time: " << startTime << std::endl; in Main()
|
/arkcompiler/ets_runtime/ecmascript/js_vm/ |
H A D | main.cpp | 181 auto startTime = in Main() local 210 << "Startup start time: " << startTime << std::endl; in Main()
|
/arkcompiler/toolchain/tooling/client/ark_multi/ |
H A D | main.cpp | 145 auto startTime = in Main() local 228 << ((endTime - startTime) / timeUnit) << "s." << std::endl; in Main()
|
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/ |
H A D | tracing.cpp | 132 std::string args = "{\"data\":{\"startTime\":" + std::to_string(profileInfo->startTime) + "}}"; in TraceEventRecordCpuProfilerStart()
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
H A D | heap_profiler.cpp | 402 time_t startTime = time(nullptr); in WaitProcess() local 411 if (time(nullptr) > startTime + DUMP_TIME_OUT) { in WaitProcess()
|
/arkcompiler/toolchain/tooling/base/ |
H A D | pt_types.cpp | 2621 int64_t startTime; in Create() local 2622 ret = params.GetInt64("startTime", &startTime); in Create() 2624 profile->startTime_ = startTime; in Create() 2626 error += "Unknown or wrong type of 'startTime';"; in Create() 2745 profile->SetStartTime(static_cast<int64_t>(profileInfo.startTime)); in FromProfileInfo() 2787 result->Add("startTime", startTime_); in ToJson()
|
H A D | pt_types.h | 2172 Profile &SetStartTime(int64_t startTime) in SetStartTime() argument 2174 startTime_ = startTime; in SetStartTime()
|
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/ |
H A D | g1-gc.cpp | 864 auto startTime = ark::time::GetCurrentTimeInNanos(); in RunMixedGC() local 869 this->GetStats()->AddTimeValue(endTime - startTime, TimeTypeStats::YOUNG_TOTAL_TIME); in RunMixedGC()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
H A D | jsnapi_expo.cpp | 5032 tagMsg << (isSerialization ? ";task=serialization;startTime=" : ";task=deserialization;startTime="); in GenerateTimeoutTraceIfNeeded() 5535 std::chrono::system_clock::time_point startTime; in SerializeValue() local 5538 startTime = std::chrono::system_clock::now(); in SerializeValue() 5547 GenerateTimeoutTraceIfNeeded(vm, startTime, endTime, true); in SerializeValue() 5563 std::chrono::system_clock::time_point startTime; in DeserializeValue() local 5566 startTime = std::chrono::system_clock::now(); in DeserializeValue() 5571 GenerateTimeoutTraceIfNeeded(vm, startTime, endTime, false); in DeserializeValue()
|