Home
last modified time | relevance | path

Searched refs:current_millis_ (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc33 FakeClockEnv() : EnvWrapper(Env::Default()), current_millis_(0) {} in FakeClockEnv()
34 void AdvanceByMillis(const uint64 millis) { current_millis_ += millis; } in AdvanceByMillis()
35 uint64 NowMicros() override { return current_millis_ * 1000; } in NowMicros()
36 uint64 NowSeconds() override { return current_millis_ * 1000; } in NowSeconds()
39 uint64 current_millis_; member in tensorflow::__anonba2a3b2f0111::FakeClockEnv
Dsummary_db_writer_test.cc40 FakeClockEnv() : EnvWrapper(Env::Default()), current_millis_(0) {} in FakeClockEnv()
41 void AdvanceByMillis(const uint64 millis) { current_millis_ += millis; } in AdvanceByMillis()
42 uint64 NowMicros() override { return current_millis_ * 1000; } in NowMicros()
43 uint64 NowSeconds() override { return current_millis_ * 1000; } in NowSeconds()
46 uint64 current_millis_; member in tensorflow::__anon4ff30c150111::FakeClockEnv
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcollection_registry_test.cc371 FakeClockEnv() : EnvWrapper(Env::Default()), current_millis_(0) {} in FakeClockEnv()
374 void AdvanceByMillis(const uint64 millis) { current_millis_ += millis; } in AdvanceByMillis()
377 uint64 NowMicros() override { return current_millis_ * 1000; } in NowMicros()
380 uint64 current_millis_; member in tensorflow::monitoring::__anon8ef798880111::FakeClockEnv