Searched refs:FakeClockEnv (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/batching_util/ |
D | fake_clock_env.cc | 24 FakeClockEnv::FakeClockEnv(Env* wrapped) : EnvWrapper(wrapped) {} in FakeClockEnv() function in tensorflow::serving::test_util::FakeClockEnv 26 void FakeClockEnv::AdvanceByMicroseconds(int micros) { in AdvanceByMicroseconds() 41 void FakeClockEnv::BlockUntilSleepingThread(uint64 wake_time) { in BlockUntilSleepingThread() 56 void FakeClockEnv::BlockUntilThreadsAsleep(int num_threads) { in BlockUntilThreadsAsleep() 68 uint64 FakeClockEnv::NowMicros() { in NowMicros() 75 void FakeClockEnv::SleepForMicroseconds(int64 micros) { in SleepForMicroseconds()
|
D | fake_clock_env.h | 39 class FakeClockEnv : public EnvWrapper { 41 explicit FakeClockEnv(Env* wrapped); 42 ~FakeClockEnv() override = default; 69 TF_DISALLOW_COPY_AND_ASSIGN(FakeClockEnv);
|
D | periodic_function_test.cc | 44 using test_util::FakeClockEnv; 47 FakeClockEnv* fake_clock_env, in StopPeriodicFunction() 60 FakeClockEnv fake_clock_env(Env::Default()); in TEST() 87 FakeClockEnv fake_clock_env(Env::Default()); in TEST() 114 FakeClockEnv fake_clock_env(Env::Default()); in TEST() 193 FakeClockEnv fake_clock_env_;
|
D | shared_batch_scheduler_test.cc | 57 test_util::FakeClockEnv* env, Notification* start, Notification* stop) { in CreateFakeClockAdvancerThread() 191 test_util::FakeClockEnv env(Env::Default()); in TEST() 295 test_util::FakeClockEnv env(Env::Default()); in TEST() 340 test_util::FakeClockEnv env(Env::Default()); in TEST() 527 test_util::FakeClockEnv env(Env::Default()); in TEST()
|
D | adaptive_shared_batch_scheduler_test.cc | 56 test_util::FakeClockEnv* env, Notification* start, Notification* stop) { in CreateFakeClockAdvancerThread() 134 test_util::FakeClockEnv env(Env::Default()); in TEST() 196 test_util::FakeClockEnv env(Env::Default()); in TEST()
|
D | serial_device_batch_scheduler_test.cc | 56 test_util::FakeClockEnv* env, Notification* start, Notification* stop) { in CreateFakeClockAdvancerThread() 197 test_util::FakeClockEnv env(Env::Default()); in TEST()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_file_writer_test.cc | 31 class FakeClockEnv : public EnvWrapper { class 33 FakeClockEnv() : EnvWrapper(Env::Default()), current_millis_(0) {} in FakeClockEnv() function in tensorflow::__anonba2a3b2f0111::FakeClockEnv 89 FakeClockEnv env_;
|
D | summary_db_writer_test.cc | 38 class FakeClockEnv : public EnvWrapper { class 40 FakeClockEnv() : EnvWrapper(Env::Default()), current_millis_(0) {} in FakeClockEnv() function in tensorflow::__anon4ff30c150111::FakeClockEnv 98 FakeClockEnv env_;
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
D | collection_registry_test.cc | 369 class FakeClockEnv : public EnvWrapper { class 371 FakeClockEnv() : EnvWrapper(Env::Default()), current_millis_(0) {} in FakeClockEnv() function in tensorflow::monitoring::__anon8ef798880111::FakeClockEnv 384 FakeClockEnv fake_clock_env; in TEST()
|