Searched refs:clock_wrapper_ (Results 1 – 3 of 3) sorted by relevance
31 clock_wrapper_(new ClockWrapper()) {} in Timer()35 start_time_ = clock_wrapper_->GetCurrentTime(); in Start()44 elapsed_time_ += clock_wrapper_->GetCurrentTime() - start_time_; in Stop()58 elapsed_time_ += clock_wrapper_->GetCurrentTime() - start_time_; in Pause()70 start_time_ = clock_wrapper_->GetCurrentTime(); in Resume()93 *elapsed_time += clock_wrapper_->GetCurrentTime() - start_time_; in GetElapsedTime()
72 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()91 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()101 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()113 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()133 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()155 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()184 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()211 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()233 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()260 timer_.clock_wrapper_.reset(clock_wrapper_mock_.release()); in TEST_F()[all …]
124 std::unique_ptr<ClockWrapper> clock_wrapper_; variable