Home
last modified time | relevance | path

Searched refs:ThreadTicks (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/base/trace_event/
Dtrace_event_impl.h103 ThreadTicks thread_timestamp,
118 void UpdateDuration(const TimeTicks& now, const ThreadTicks& thread_now);
133 ThreadTicks thread_timestamp() const { return thread_timestamp_; } in thread_timestamp()
160 ThreadTicks thread_timestamp_;
Dtrace_event_impl.cc84 ThreadTicks thread_timestamp, in Initialize()
180 const ThreadTicks& thread_now) { in UpdateDuration()
186 if (thread_timestamp_ != ThreadTicks()) in UpdateDuration()
Dtrace_log.cc117 ThreadTicks ThreadNow() { in ThreadNow()
118 return ThreadTicks::IsSupported() ? ThreadTicks::Now() : ThreadTicks(); in ThreadNow()
137 ThreadTicks(), in InitializeMetadataEvent()
1202 ThreadTicks thread_now = ThreadNow(); in AddTraceEventWithThreadIdAndTimestamp()
1350 TimeTicks(), ThreadTicks(), TRACE_EVENT_PHASE_METADATA, in AddMetadataEvent()
1422 ThreadTicks thread_now = ThreadNow(); in UpdateTraceEventDuration()
Dtrace_event.h529 static inline void SetTraceValue(const base::ThreadTicks arg, in SetTraceValue()
/external/libchrome/base/time/
Dtime.h704 class BASE_EXPORT ThreadTicks : public time_internal::TimeBase<ThreadTicks> {
706 ThreadTicks() : TimeBase(0) { in ThreadTicks() function
736 static ThreadTicks Now();
739 friend class time_internal::TimeBase<ThreadTicks>;
743 explicit ThreadTicks(int64_t us) : TimeBase(us) {} in ThreadTicks() function
760 BASE_EXPORT std::ostream& operator<<(std::ostream& os, ThreadTicks time_ticks);
Dtime_mac.cc232 ThreadTicks ThreadTicks::Now() { in Now()
233 return ThreadTicks(ComputeThreadTicks()); in Now()
Dtime_posix.cc320 ThreadTicks ThreadTicks::Now() { in Now()
323 return ThreadTicks(ClockNow(CLOCK_THREAD_CPUTIME_ID)); in Now()
326 return ThreadTicks(); in Now()
Dtime_unittest.cc648 TEST(ThreadTicks, MAYBE_ThreadNow) { in TEST() argument
649 if (ThreadTicks::IsSupported()) { in TEST()
650 ThreadTicks::WaitUntilInitialized(); in TEST()
652 ThreadTicks begin_thread = ThreadTicks::Now(); in TEST()
654 EXPECT_GT(begin_thread, ThreadTicks()); in TEST()
657 ThreadTicks end_thread = ThreadTicks::Now(); in TEST()
Dtime.cc326 std::ostream& operator<<(std::ostream& os, ThreadTicks thread_ticks) { in operator <<()
327 const TimeDelta as_time_delta = thread_ticks - ThreadTicks(); in operator <<()
/external/libweave/third_party/chromium/base/time/
Dtime.h678 class ThreadTicks : public time_internal::TimeBase<ThreadTicks> {
680 ThreadTicks() : TimeBase(0) { in ThreadTicks() function
710 static ThreadTicks Now();
713 friend class time_internal::TimeBase<ThreadTicks>;
717 explicit ThreadTicks(int64_t us) : TimeBase(us) {} in ThreadTicks() function
722 std::ostream& operator<<(std::ostream& os, ThreadTicks time_ticks);
Dtime_posix.cc300 ThreadTicks ThreadTicks::Now() { in Now()
303 return ThreadTicks(ClockNow(CLOCK_THREAD_CPUTIME_ID)); in Now()
306 return ThreadTicks(); in Now()
Dtime.cc294 std::ostream& operator<<(std::ostream& os, ThreadTicks thread_ticks) { in operator <<()
295 const TimeDelta as_time_delta = thread_ticks - ThreadTicks(); in operator <<()