Home
last modified time | relevance | path

Searched refs:FakeClockEnv (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/batching_util/
Dfake_clock_env.cc24 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()
Dfake_clock_env.h39 class FakeClockEnv : public EnvWrapper {
41 explicit FakeClockEnv(Env* wrapped);
42 ~FakeClockEnv() override = default;
69 TF_DISALLOW_COPY_AND_ASSIGN(FakeClockEnv);
Dperiodic_function_test.cc44 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_;
Dshared_batch_scheduler_test.cc57 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()
Dadaptive_shared_batch_scheduler_test.cc56 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()
Dserial_device_batch_scheduler_test.cc56 test_util::FakeClockEnv* env, Notification* start, Notification* stop) { in CreateFakeClockAdvancerThread()
197 test_util::FakeClockEnv env(Env::Default()); in TEST()
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc31 class FakeClockEnv : public EnvWrapper { class
33 FakeClockEnv() : EnvWrapper(Env::Default()), current_millis_(0) {} in FakeClockEnv() function in tensorflow::__anonba2a3b2f0111::FakeClockEnv
89 FakeClockEnv env_;
Dsummary_db_writer_test.cc38 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/
Dcollection_registry_test.cc369 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()