Home
last modified time | relevance | path

Searched refs:TimeTicks (Results 1 – 25 of 51) sorted by relevance

123

/third_party/node/deps/v8/src/base/platform/
Delapsed-timer.h23 void Start(TimeTicks now) { in Start()
37 set_start_ticks(TimeTicks()); in Stop()
62 TimeDelta Restart(TimeTicks now) { in Restart()
74 void Pause(TimeTicks now) { in Pause()
85 void Resume(TimeTicks now) { in Resume()
101 TimeDelta Elapsed(TimeTicks now) const { in Elapsed()
118 static V8_INLINE TimeTicks Now() { in Now()
119 TimeTicks now = TimeTicks::Now(); in Now()
137 TimeTicks start_ticks() const { in start_ticks()
141 void set_start_ticks(TimeTicks start_ticks) { in set_start_ticks()
[all …]
Dtime.cc307 TimeTicks ticks = GetSystemTicks(); in Now()
330 static TimeTicks GetSystemTicks() { in GetSystemTicks()
331 return TimeTicks::Now(); in GetSystemTicks()
340 TimeTicks initial_ticks_;
547 TimeTicks RolloverProtectedNow() { in RolloverProtectedNow()
577 return TimeTicks() + in RolloverProtectedNow()
617 TimeTicks InitialTimeTicksNowFunction();
621 using TimeTicksNowFunction = decltype(&TimeTicks::Now);
634 if (qpc_value < TimeTicks::kQPCOverflowThreshold) { in QPCValueToTimeDelta()
636 qpc_value * TimeTicks::kMicrosecondsPerSecond / g_qpc_ticks_per_second); in QPCValueToTimeDelta()
[all …]
Dtime.h35 class TimeTicks; variable
424 class V8_BASE_EXPORT TimeTicks final
425 : public time_internal::TimeBase<TimeTicks> {
427 constexpr TimeTicks() : TimeBase(0) {} in TimeTicks() function
434 static TimeTicks Now();
440 friend class time_internal::TimeBase<TimeTicks>;
444 explicit constexpr TimeTicks(int64_t ticks) : TimeBase(ticks) {} in TimeTicks() function
447 inline TimeTicks operator+(const TimeDelta& delta, const TimeTicks& ticks) {
Dsemaphore.cc139 TimeTicks now = TimeTicks::Now();
140 TimeTicks end = now + rel_time;
149 now = TimeTicks::Now();
/third_party/node/deps/v8/src/d8/
Dd8-console.cc37 default_timer_ = base::TimeTicks::Now(); in D8Console()
78 default_timer_ = base::TimeTicks::Now(); in Time()
88 find->second = base::TimeTicks::Now(); in Time()
90 timers_.insert(std::pair<std::string, base::TimeTicks>( in Time()
91 string, base::TimeTicks::Now())); in Time()
101 delta = base::TimeTicks::Now() - default_timer_; in TimeEnd()
104 base::TimeTicks now = base::TimeTicks::Now(); in TimeEnd()
123 base::TimeDelta delta = base::TimeTicks::Now() - default_timer_; in TimeStamp()
Dd8-console.h41 std::map<std::string, base::TimeTicks> timers_;
42 base::TimeTicks default_timer_;
/third_party/node/deps/v8/src/logging/
Dcounters-scopes.h135 base::TimeTicks now = base::TimeTicks::Now(); in StartInteral()
142 base::TimeTicks now = base::TimeTicks::Now(); in StopInternal()
164 void Pause(base::TimeTicks now) { in Pause()
169 void Resume(base::TimeTicks now) { in Resume()
197 previous_scope_->Pause(base::TimeTicks::Now()); in PauseNestedTimedHistogramScope()
203 previous_scope_->Resume(base::TimeTicks::Now()); in ~PauseNestedTimedHistogramScope()
Dmetrics.h93 void Start() { start_time_ = base::TimeTicks::Now(); } in Start()
97 base::TimeDelta duration = base::TimeTicks::Now() - start_time_; in Stop()
99 start_time_ = base::TimeTicks::Min(); in Stop()
104 base::TimeTicks start_time_;
Druntime-call-stats.h68 inline bool IsStarted() const { return start_ticks_ != base::TimeTicks(); } in IsStarted()
78 base::TimeTicks now = RuntimeCallTimer::Now(); in Start()
88 base::TimeTicks now = RuntimeCallTimer::Now(); in Stop()
101 V8_EXPORT_PRIVATE static base::TimeTicks (*Now)();
104 static base::TimeTicks NowCPUTime();
107 inline void Pause(base::TimeTicks now) { in Pause()
110 start_ticks_ = base::TimeTicks(); in Pause()
113 inline void Resume(base::TimeTicks now) { in Resume()
125 base::TimeTicks start_ticks_;
Druntime-call-stats.cc17 base::TimeTicks (*RuntimeCallTimer::Now)() = &base::TimeTicks::Now;
19 base::TimeTicks RuntimeCallTimer::NowCPUTime() { in NowCPUTime()
21 return base::TimeTicks::FromInternalValue(ticks.ToInternalValue()); in NowCPUTime()
119 base::TimeTicks now = Now(); in Snapshot()
/third_party/node/deps/v8/src/heap/cppgc/
Dincremental-marking-schedule.cc23 incremental_marking_start_time_ = v8::base::TimeTicks::Now(); in NotifyIncrementalMarkingStart()
45 v8::base::TimeTicks start_time) { in GetElapsedTimeInMs()
51 return (v8::base::TimeTicks::Now() - start_time).InMillisecondsF(); in GetElapsedTimeInMs()
Dincremental-marking-schedule.h41 double GetElapsedTimeInMs(v8::base::TimeTicks);
43 v8::base::TimeTicks incremental_marking_start_time_;
Dstats-collector.h165 start_time_(v8::base::TimeTicks::Now()), in InternalScope()
212 v8::base::TimeTicks start_time_;
338 v8::base::TimeTicks time_of_last_end_of_marking_ = v8::base::TimeTicks::Now();
484 v8::base::TimeDelta time = v8::base::TimeTicks::Now() - start_time_; in IncreaseScopeTime()
Dstats-collector.cc149 time_of_last_end_of_marking_ = v8::base::TimeTicks::Now(); in NotifyMarkingCompleted()
153 v8::base::TimeTicks current_time = v8::base::TimeTicks::Now(); in GetRecentAllocationSpeedInBytesPerMs()
Dmarker.cc69 v8::base::TimeTicks time_deadline, in DrainWorklistWithBytesAndTimeDeadline()
75 (time_deadline <= v8::base::TimeTicks::Now()); in DrainWorklistWithBytesAndTimeDeadline()
477 const auto deadline = v8::base::TimeTicks::Now() + max_duration; in AdvanceMarkingWithLimits()
501 size_t marked_bytes_deadline, v8::base::TimeTicks time_deadline) { in ProcessWorklistsWithDeadline()
Dconcurrent-marker.cc258 last_concurrently_marked_bytes_update_ = v8::base::TimeTicks::Now(); in IncreaseMarkingPriorityIfNeeded()
259 } else if ((v8::base::TimeTicks::Now() - in IncreaseMarkingPriorityIfNeeded()
/third_party/node/deps/v8/src/profiler/
Dprofile-generator.h408 base::TimeTicks timestamp;
425 void AddPath(base::TimeTicks timestamp, const ProfileStackTrace& path,
441 base::TimeTicks start_time() const { return start_time_; } in start_time()
442 base::TimeTicks end_time() const { return end_time_; } in end_time()
458 base::TimeTicks start_time_;
459 base::TimeTicks end_time_;
567 base::TimeTicks timestamp, const ProfileStackTrace& path, int src_line,
Dcpu-profiler.cc271 base::TimeTicks nextSampleTime = base::TimeTicks::Now() + period_; in Run()
272 base::TimeTicks now; in Run()
283 now = base::TimeTicks::Now(); in Run()
292 while (base::TimeTicks::Now() < nextSampleTime) { in Run()
309 now = base::TimeTicks::Now(); in Run()
Dtick-sample.h101 base::TimeTicks timestamp;
/third_party/node/deps/v8/third_party/zlib/google/
Dzip_writer.h139 base::TimeTicks next_progress_report_time_ = base::TimeTicks::Now();
Dzip_writer.cc23 const base::TimeTicks now = base::TimeTicks::Now(); in ShouldContinue()
/third_party/node/deps/zlib/google/
Dzip_writer.h139 base::TimeTicks next_progress_report_time_ = base::TimeTicks::Now();
Dzip_reader.h319 mutable base::TimeTicks next_progress_report_time_ = base::TimeTicks::Now();
Dzip_writer.cc23 const base::TimeTicks now = base::TimeTicks::Now(); in ShouldContinue()
/third_party/node/deps/v8/src/execution/
Dfutex-emulation.cc175 node->async_timeout_time_ = base::TimeTicks(); in NotifyAsyncWaiter()
416 base::TimeTicks timeout_time; in WaitSync()
417 base::TimeTicks current_time; in WaitSync()
420 current_time = base::TimeTicks::Now(); in WaitSync()
475 current_time = base::TimeTicks::Now(); in WaitSync()
574 node->async_timeout_time_ = base::TimeTicks::Now() + rel_timeout; in WaitAsync()
703 if (node->async_timeout_time_ == base::TimeTicks()) { in Wake()
803 if (node->async_timeout_time_ != base::TimeTicks()) { in ResolveAsyncWaiterPromise()
1004 if (node->async_timeout_time_ != base::TimeTicks()) { in VerifyNode()

123