Home
last modified time | relevance | path

Searched refs:run_time (Results 1 – 25 of 35) sorted by relevance

12

/external/ltp/testcases/kernel/io/disktest/
Dtimer.c81 time_t run_time = 0; in ChildTimer() local
96 run_time++; in ChildTimer()
99 run_time, env->bContinue); in ChildTimer()
173 if (((args->hbeat > 0) && ((run_time % args->hbeat) == 0)) in ChildTimer()
188 if (run_time >= args->run_time) { /* and run time exceeded */ in ChildTimer()
199 run_time, env->bContinue, env->kids); in ChildTimer()
Dparse.c550 args->run_time = atoi(optarg); in fill_cld_args()
553 args->run_time *= 60; in fill_cld_args()
555 args->run_time *= (time_t) (60 * 60); in fill_cld_args()
557 args->run_time *= (time_t) (60 * 60 * 24); in fill_cld_args()
1117 && (args->hbeat > args->run_time)) { in check_conclusions()
/external/libchrome/base/task/sequence_manager/
Dthread_controller_with_message_pump_impl.cc62 TimeTicks run_time) { in SetNextDelayedDoWork() argument
63 if (main_thread_only().next_delayed_work == run_time) in SetNextDelayedDoWork()
65 main_thread_only().next_delayed_work = run_time; in SetNextDelayedDoWork()
67 if (run_time == TimeTicks::Max()) in SetNextDelayedDoWork()
75 DCHECK_LT(time_source_->NowTicks(), run_time); in SetNextDelayedDoWork()
76 pump_->ScheduleDelayedWork(run_time); in SetNextDelayedDoWork()
Dthread_controller_impl.cc80 TimeTicks run_time) { in SetNextDelayedDoWork() argument
84 if (main_sequence_only().next_delayed_do_work == run_time) in SetNextDelayedDoWork()
88 if (run_time == TimeTicks::Max()) { in SetNextDelayedDoWork()
108 base::TimeDelta delay = std::max(TimeDelta(), run_time - lazy_now->Now()); in SetNextDelayedDoWork()
113 main_sequence_only().next_delayed_do_work = run_time; in SetNextDelayedDoWork()
Dsequence_manager_perftest.cc37 Optional<TimeTicks> run_time = NextScheduledRunTime(); in DelayTillNextTask() local
38 if (!run_time) in DelayTillNextTask()
40 SetNowTicks(*run_time); in DelayTillNextTask()
45 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override { in SetNextDelayedDoWork() argument
Dtime_domain.cc36 void TimeDomain::SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) { in SetNextDelayedDoWork() argument
37 sequence_manager_->SetNextDelayedDoWork(lazy_now, run_time); in SetNextDelayedDoWork()
Dtime_domain_unittest.cc62 void(LazyNow* lazy_now, TimeTicks run_time));
273 TimeTicks run_time = now + TimeDelta::FromMilliseconds(20); in TEST_F() local
275 EXPECT_CALL(*time_domain_.get(), SetNextDelayedDoWork(_, run_time)); in TEST_F()
277 internal::TaskQueueImpl::DelayedWakeUp{run_time, 0}); in TEST_F()
Dthread_controller.h57 virtual void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) = 0;
Dtime_domain.h75 virtual void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time);
Dthread_controller_with_message_pump_impl.h35 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
Dthread_controller_impl.h40 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
/external/tensorflow/tensorflow/tools/test/
Drun_and_gather_logs_lib.py52 start_time, run_time, log_files): argument
73 results.run_time = run_time
160 run_time = time.time() - start_time
171 run_time=run_time,
/external/tensorflow/tensorflow/python/grappler/
Dgraph_placer.py98 run_time = model.eval_placement(
104 run_time = hparams.failing_signal
105 updated = model.update_reward(sess, run_time, verbose=verbose)
106 if updated and run_time < original_run_time:
108 print("Found better placement, with runtime " + str(run_time))
Dcluster_test.py45 op_perfs, run_time, step_stats = grappler_cluster.MeasureCosts(
47 self.assertTrue(run_time > 0)
62 op_perfs, run_time, step_stats = grappler_cluster.MeasureCosts(
64 self.assertTrue(run_time > 0)
109 op_perfs, run_time, _ = grappler_cluster.MeasureCosts(grappler_item)
110 self.assertEqual(run_time, 0.000545)
128 op_perfs, run_time, step_stats = gcluster.MeasureCosts(grappler_item)
129 self.assertTrue(run_time > 0)
Dcluster.py104 op_perf_bytes_list, run_time, step_stats_bytes = ret_from_swig
107 return (op_perfs, run_time,
Dhierarchical_controller.py268 def compute_reward(self, run_time): argument
270 reward = run_time
272 reward = math.sqrt(run_time)
274 reward = math.log1p(run_time)
974 _, run_time, _ = self.cluster.MeasureCosts(self.item)
976 run_time = self.hparams.failing_signal
977 return run_time
981 run_time, argument
984 reward = self.compute_reward(run_time)
996 "best_reward={:<.5f}").format(run_time, reward, best_reward))
Dcluster.i329 double run_time = FLT_MAX; in TF_MeasureCosts() local
331 run_time = static_cast<double>(costs.execution_time.count()) / 1e9; in TF_MeasureCosts()
359 PyObject* run_time_obj = PyFloat_FromDouble(run_time); in TF_MeasureCosts()
/external/tensorflow/tensorflow/core/kernels/
Dgpu_utils.cc119 proto_utils::FromDurationProto(lhs.success().run_time())) < in BestCudnnConvAlgorithm()
122 proto_utils::FromDurationProto(rhs.success().run_time())); in BestCudnnConvAlgorithm()
130 proto_utils::FromDurationProto(lhs.success().run_time())) < in BestCudnnConvAlgorithm()
133 proto_utils::FromDurationProto(rhs.success().run_time())); in BestCudnnConvAlgorithm()
/external/ltp/pan/
Dltp-pan.c175 int run_time = -1; in main() local
262 ret = sscanf(optarg, "%d%c", &run_time, &modifier); in main()
271 " assuming %c\n", run_time, modifier); in main()
275 run_time = run_time; in main()
278 run_time = run_time * 60; in main()
281 run_time = run_time * 60 * 60; in main()
284 run_time = run_time * 60 * 60 * 24; in main()
293 run_time); in main()
504 if (run_time != -1) { in main()
505 alarm(run_time); in main()
/external/libchrome/base/task/sequence_manager/test/
Dlazy_thread_controller_for_test.cc102 TimeTicks run_time) { in SetNextDelayedDoWork() argument
104 ThreadControllerImpl::SetNextDelayedDoWork(lazy_now, run_time); in SetNextDelayedDoWork()
Dmock_time_domain.cc32 TimeTicks run_time) {} in SetNextDelayedDoWork() argument
Dmock_time_domain.h26 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
Dlazy_thread_controller_for_test.h33 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
/external/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c162 static void set_timer(int run_time) in set_timer() argument
170 timer.it_value.tv_sec = (time_t) (run_time * 3600.0); in set_timer()
/external/tensorflow/tensorflow/contrib/fused_conv/kernels/
Dfused_conv2d_bias_activation_op.cc352 internal::FromDurationProto(lhs.success().run_time())) < in BestCudnnConvAlgorithm()
355 internal::FromDurationProto(rhs.success().run_time())); in BestCudnnConvAlgorithm()
363 internal::FromDurationProto(lhs.success().run_time())) < in BestCudnnConvAlgorithm()
366 internal::FromDurationProto(rhs.success().run_time())); in BestCudnnConvAlgorithm()

12