Searched refs:ThreadTicks (Results 1 – 12 of 12) sorted by relevance
/external/v8/src/base/platform/ |
D | time.cc | 640 bool ThreadTicks::IsSupported() { in IsSupported() 652 ThreadTicks ThreadTicks::Now() { in Now() 654 return ThreadTicks(ComputeThreadTicks()); in Now() 657 return ThreadTicks(ClockNow(CLOCK_THREAD_CPUTIME_ID)); in Now() 659 return ThreadTicks(gethrvtime() / Time::kNanosecondsPerMicrosecond); in Now() 661 return ThreadTicks::GetForThread(::GetCurrentThread()); in Now() 664 return ThreadTicks(); in Now() 670 ThreadTicks ThreadTicks::GetForThread(const HANDLE& thread_handle) { in GetForThread() 680 return ThreadTicks(); in GetForThread() 684 return ThreadTicks( in GetForThread() [all …]
|
D | time.h | 381 class V8_BASE_EXPORT ThreadTicks final 382 : public time_internal::TimeBase<ThreadTicks> { 384 ThreadTicks() : TimeBase(0) {} in ThreadTicks() function 404 static ThreadTicks Now(); 410 static ThreadTicks GetForThread(const HANDLE& thread_handle); 419 explicit ThreadTicks(int64_t ticks) : TimeBase(ticks) {} in ThreadTicks() function
|
/external/libchrome/base/trace_event/ |
D | trace_event_impl.h | 94 ThreadTicks thread_timestamp, 110 void UpdateDuration(const TimeTicks& now, const ThreadTicks& thread_now); 125 ThreadTicks thread_timestamp() const { return thread_timestamp_; } in thread_timestamp() 153 ThreadTicks thread_timestamp_;
|
D | trace_log.cc | 101 ThreadTicks ThreadNow() { in ThreadNow() 102 return ThreadTicks::IsSupported() ? ThreadTicks::Now() : ThreadTicks(); in ThreadNow() 121 ThreadTicks(), in InitializeMetadataEvent() 1212 ThreadTicks thread_now = ThreadNow(); in AddTraceEventWithThreadIdAndTimestamp() 1343 ThreadTicks thread_now = ThreadNow(); in AddMetadataEvent() 1432 ThreadTicks thread_now = ThreadNow(); in UpdateTraceEventDuration()
|
D | trace_event_impl.cc | 88 ThreadTicks thread_timestamp, in Initialize() 189 const ThreadTicks& thread_now) { in UpdateDuration() 195 if (thread_timestamp_ != ThreadTicks()) in UpdateDuration()
|
D | event_name_filter_unittest.cc | 17 event.Initialize(0, TimeTicks(), ThreadTicks(), 'b', nullptr, name, "", 0, 0, in MakeTraceEvent()
|
D | trace_event.h | 667 static inline void SetTraceValue(const base::ThreadTicks arg, in SetTraceValue()
|
/external/libchrome/base/time/ |
D | time.h | 794 class BASE_EXPORT ThreadTicks : public time_internal::TimeBase<ThreadTicks> { 796 ThreadTicks() : TimeBase(0) { in ThreadTicks() function 826 static ThreadTicks Now(); 832 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle); 836 friend class time_internal::TimeBase<ThreadTicks>; 840 explicit ThreadTicks(int64_t us) : TimeBase(us) {} in ThreadTicks() function 857 BASE_EXPORT std::ostream& operator<<(std::ostream& os, ThreadTicks time_ticks);
|
D | time_posix.cc | 386 ThreadTicks ThreadTicks::Now() { in Now() 389 return ThreadTicks(ClockNow(CLOCK_THREAD_CPUTIME_ID)); in Now() 392 return ThreadTicks(); in Now()
|
D | time_unittest.cc | 709 TEST(ThreadTicks, MAYBE_ThreadNow) { in TEST() argument 710 if (ThreadTicks::IsSupported()) { in TEST() 711 ThreadTicks::WaitUntilInitialized(); in TEST() 713 ThreadTicks begin_thread = ThreadTicks::Now(); in TEST() 715 EXPECT_GT(begin_thread, ThreadTicks()); in TEST() 718 ThreadTicks end_thread = ThreadTicks::Now(); in TEST()
|
D | time.cc | 330 std::ostream& operator<<(std::ostream& os, ThreadTicks thread_ticks) { in operator <<() 331 const TimeDelta as_time_delta = thread_ticks - ThreadTicks(); in operator <<()
|
/external/v8/src/libplatform/tracing/ |
D | trace-object.cc | 51 tts_ = base::ThreadTicks::Now().ToInternalValue(); in Initialize() 108 cpu_duration_ = base::ThreadTicks::Now().ToInternalValue() - tts_; in UpdateDuration()
|