HomeSort by relevance Sort by last modified time
    Searched refs:TrackedTime (Results 1 - 8 of 8) sorted by null

  /external/libchrome/base/profiler/
tracked_time.h 42 friend class TrackedTime;
49 class BASE_EXPORT TrackedTime { // Similar to base::TimeTicks.
51 TrackedTime();
52 explicit TrackedTime(const base::TimeTicks& time);
54 static TrackedTime Now();
55 Duration operator-(const TrackedTime& other) const;
56 TrackedTime operator+(const Duration& other) const;
59 static TrackedTime FromMilliseconds(int32_t ms) { return TrackedTime(ms); }
63 explicit TrackedTime(int32_t ms)
    [all...]
tracked_time.cc 48 TrackedTime::TrackedTime() : ms_(0) {}
49 TrackedTime::TrackedTime(int32_t ms) : ms_(ms) {}
50 TrackedTime::TrackedTime(const base::TimeTicks& time)
54 TrackedTime TrackedTime::Now() {
55 return TrackedTime(base::TimeTicks::Now());
58 Duration TrackedTime::operator-(const TrackedTime& other) const
    [all...]
tracked_time_unittest.cc 22 TrackedTime some = TrackedTime() +
24 EXPECT_EQ(kSomeMilliseconds, (some - TrackedTime()).InMilliseconds());
32 TrackedTime wrapped_big(big);
34 EXPECT_EQ(kSomeMilliseconds, (wrapped_big - TrackedTime()).InMilliseconds());
59 TrackedTime now = TrackedTime::Now();
66 Duration before = now - TrackedTime(ticks_before);
68 Duration after = now - TrackedTime(ticks_after);
77 TrackedTime track_now = ThreadData::Now()
    [all...]
  /external/libchrome/base/
tracking_info.h 38 tracked_objects::TrackedTime EffectiveTimePosted() const {
41 : tracked_objects::TrackedTime(delayed_run_time);
50 tracked_objects::TrackedTime time_posted;
tracked_objects.h 506 const TrackedTime& time_posted,
538 static TrackedTime Now();
541 // TrackedTime::Now() function. Since this alternate function is being used,
    [all...]
tracked_objects.cc 351 random_number_ ^= (Now() - TrackedTime()).InMilliseconds();
568 TrackedTime start_of_run = stopwatch.StartTime();
580 const TrackedTime& time_posted,
601 TrackedTime start_of_run = stopwatch.StartTime();
777 TrackedTime ThreadData::Now() {
779 return TrackedTime::FromMilliseconds((*now_function_)());
781 return TrackedTime::Now();
782 return TrackedTime(); // Super fast when disabled, or not compiled.
    [all...]
tracked_objects_unittest.cc 452 const TrackedTime kTimePosted = TrackedTime::FromMilliseconds(1);
481 const TrackedTime kTimePosted = TrackedTime::FromMilliseconds(1);
501 const TrackedTime kTimePosted1 = TrackedTime::FromMilliseconds(9);
721 const TrackedTime kTimePosted = TrackedTime::FromMilliseconds(1);
786 const TrackedTime kTimePosted = TrackedTime::FromMilliseconds(1)
    [all...]
  /external/libchrome/base/threading/
worker_pool_posix.cc 22 using tracked_objects::TrackedTime;

Completed in 212 milliseconds