Home
last modified time | relevance | path

Searched refs:MIN_TIME_DELTA (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsamples_record.cpp344 int timeDelta = MIN_TIME_DELTA - profileInfo_->timeDeltas[idx]; in FinetuneTimeDeltas()
354 …rofileInfo_->timeDeltas[idx + 1] -= timeDelta - profileInfo_->timeDeltas[idx - 1] + MIN_TIME_DELTA; in FinetuneTimeDeltas()
356 … sampleTime -= static_cast<uint64_t>(profileInfo_->timeDeltas[idx - 1] - MIN_TIME_DELTA); in FinetuneTimeDeltas()
358 profileInfo_->timeDeltas[idx - 1] = MIN_TIME_DELTA; in FinetuneTimeDeltas()
362 profileInfo_->timeDeltas[idx] = MIN_TIME_DELTA; in FinetuneTimeDeltas()
367 int timeDelta = MIN_TIME_DELTA - profileInfo_->timeDeltas[idx]; in FinetuneTimeDeltas()
369 profileInfo_->timeDeltas[idx + 1] = MIN_TIME_DELTA; in FinetuneTimeDeltas()
Dsamples_record.h34 const int MIN_TIME_DELTA = 10; // 10: the minimum value of the time delta variable