Home
last modified time | relevance | path

Searched refs:run_time (Results 1 – 25 of 43) 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()
/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;
/external/tensorflow/tensorflow/tools/test/
Drun_and_gather_logs_lib.py55 start_time, run_time, log_files): argument
76 results.run_time = run_time
172 run_time = time.time() - start_time
183 run_time=run_time,
/external/tensorflow/tensorflow/python/grappler/
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.000209)
128 op_perfs, run_time, step_stats = gcluster.MeasureCosts(grappler_item)
129 self.assertTrue(run_time > 0)
Dcluster.py95 op_perf_bytes_list, run_time, step_stats_bytes = tf_cluster.TF_MeasureCosts(
100 return (op_perfs, run_time,
Dcluster_wrapper.cc267 double run_time = FLT_MAX; in PYBIND11_MODULE() local
269 run_time = static_cast<double>(costs.execution_time.count()) / 1e9; in PYBIND11_MODULE()
287 return std::make_tuple(op_perf_objs, run_time, step_stats_str); in PYBIND11_MODULE()
/external/ltp/pan/
Dltp-pan.c176 int run_time = -1; in main() local
263 ret = sscanf(optarg, "%d%c", &run_time, &modifier); in main()
272 " assuming %c\n", run_time, modifier); in main()
276 run_time = run_time; in main()
279 run_time = run_time * 60; in main()
282 run_time = run_time * 60 * 60; in main()
285 run_time = run_time * 60 * 60 * 24; in main()
294 run_time); in main()
505 if (run_time != -1) { in main()
506 alarm(run_time); in main()
/external/vixl/benchmarks/aarch64/
Dbench-utils.h93 unsigned long run_time = strtoul(argv[1], &end, 0); // NOLINT(runtime/int) in BenchCLI() local
94 if ((end == argv[1]) || (run_time > UINT32_MAX)) { in BenchCLI()
99 run_time_ = static_cast<uint32_t>(run_time); in BenchCLI()
/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/adhd/sound_card_init/dsm/src/
Dlib.rs22 use crate::utils::{run_time, shutdown_time};
291 !run_time::exists(&self.snd_card) in is_first_boot()
297 let last_run = run_time::from_file(&self.snd_card)?; in is_speaker_over_heated()
/external/adhd/sound_card_init/src/
Dmain.rs25 use dsm::utils::run_time;
128 if let Err(e) = run_time::now_to_file(&args.sound_card_id) { in main()
/external/OpenCL-CTS/test_conformance/
Drun_conformance.py243 run_time = (time.time() - start_time)
247 …print("("+get_time()+") PASSED " + test_name.ljust(40) +": (" + str(int(run_time)).rjust(3) + …
249 …print("("+get_time()+") FAILED " + test_name.ljust(40) +": (" + str(int(run_time)).rjust(3) + …
262 …log_file.write(" ("+get_time()+") Test " + test_name +" passed in " + str(run_time) + "s\n…
/external/catch2/include/internal/benchmark/
Dcatch_benchmark.hpp47 …auto run_time = std::max(min_time, std::chrono::duration_cast<decltype(min_time)>(cfg.benchmarkWar… in prepare() local
48 …etail::run_for_at_least<Clock>(std::chrono::duration_cast<ClockDuration<Clock>>(run_time), 1, fun); in prepare()
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c621 int shmid, run_time = 20 * 60; in main() local
642 run_time = strtoul(optarg, NULL, 10); in main()
679 printf("Timeout: %d seconds\n", run_time); in main()
706 alarm(run_time); in main()
/external/libcups/backend/
Dsnmp.c133 static double run_time(void);
683 debug_printf("DEBUG: %.3f Probing %s...\n", run_time(), device->addrname); in probe_device()
899 debug_printf("DEBUG: %.3f Received data from %s...\n", run_time(), addrname); in read_snmp_response()
1128 run_time(void) in run_time() function
1239 fprintf(stderr, "ERROR: %.3f select() for %d/%d failed: %s\n", run_time(), in scan_devices()
1284 debug_printf("DEBUG: %.3f Scan complete!\n", run_time()); in scan_devices()
1301 debug_printf("DEBUG: %.3f Trying %s://%s:%d...\n", run_time(), in try_connect()

12