Home
last modified time | relevance | path

Searched refs:delta_time (Results 1 – 15 of 15) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_def_task01.c102 time_t current_time, prev_time, delta_time; in main() local
193 delta_time = current_time - prev_time; in main()
207 if (delta_time > TIME_INTERVAL) in main()
209 (delta_time * num_cpus); in main()
221 exp_cpu_time, myshares, delta_time); in main()
Dcpuctl_def_task04.c102 time_t current_time, prev_time, delta_time; in main() local
210 delta_time = current_time - prev_time; in main()
224 if (delta_time > TIME_INTERVAL) in main()
226 (delta_time * num_cpus); in main()
235 mytime, exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_def_task02.c104 time_t current_time, prev_time, delta_time; in main() local
204 delta_time = current_time - prev_time; in main()
218 if (delta_time > TIME_INTERVAL) in main()
220 (delta_time * num_cpus); in main()
228 exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_test01.c102 time_t current_time, prev_time, delta_time; in main() local
188 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
199 if (delta_time > TIME_INTERVAL) in main()
201 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
208 exp_cpu_time, myshares, delta_time); in main()
Dcpuctl_test03.c102 time_t current_time, prev_time, delta_time; in main() local
195 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
206 if (delta_time > TIME_INTERVAL) in main()
208 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
215 exp_cpu_time, delta_time); in main()
Dcpuctl_test04.c103 time_t current_time, prev_time, delta_time; in main() local
206 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
217 if (delta_time > TIME_INTERVAL) in main()
219 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
226 mytime, exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_def_task03.c100 time_t current_time, prev_time, delta_time; in main() local
200 delta_time = current_time - prev_time; in main()
214 if (delta_time > TIME_INTERVAL) in main()
216 (delta_time * num_cpus); in main()
225 exp_cpu_time, delta_time); in main()
Dcpuctl_test02.c106 time_t current_time, prev_time, delta_time; in main() local
199 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
210 if (delta_time > TIME_INTERVAL) in main()
212 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
219 mytime, exp_cpu_time, fmyshares, delta_time); in main()
/external/gemmlowp/test/
Dbenchmark_meta_gemm.cc171 double delta_time = (time() - start); in time_all() local
172 times.push_back(delta_time / repetitions); in time_all()
173 sum_time += delta_time; in time_all()
195 double delta_time = (time() - start); in time_one() local
196 times.push_back(delta_time / shape->repetitions); in time_one()
197 sum_time += delta_time; in time_one()
/external/python/cpython2/Lib/test/
Dtest_timeit.py105 delta_time = t.timeit(**kwargs)
108 self.assertEqual(delta_time, number)
137 delta_time = timeit.timeit(self.fake_stmt, self.fake_setup, number=0,
139 self.assertEqual(delta_time, 0)
/external/python/cpython3/Lib/test/
Dtest_timeit.py108 delta_time = t.timeit(**kwargs)
111 self.assertEqual(delta_time, number)
140 delta_time = timeit.timeit(self.fake_stmt, self.fake_setup, number=0,
142 self.assertEqual(delta_time, 0)
/external/libnetfilter_conntrack/src/conntrack/
Dsnprintf_xml.c215 time_t now, delta_time; in __snprintf_deltatime_now() local
218 delta_time = now - (time_t)(ct->timestamp.start / NSEC_PER_SEC); in __snprintf_deltatime_now()
221 (unsigned long long)delta_time); in __snprintf_deltatime_now()
232 time_t delta_time = (time_t)((ct->timestamp.stop - in __snprintf_deltatime() local
236 (unsigned long long)delta_time); in __snprintf_deltatime()
Dsnprintf_default.c279 time_t delta_time, stop; in __snprintf_timestamp_delta() local
286 delta_time = stop - (time_t)(ct->timestamp.start / NSEC_PER_SEC); in __snprintf_timestamp_delta()
289 (unsigned long long)delta_time)); in __snprintf_timestamp_delta()
/external/libnl/lib/netfilter/
Dct_obj.c202 int64_t delta_time = tstamp->stop - tstamp->start; in ct_dump_line() local
204 if (delta_time > 0) in ct_dump_line()
205 delta_time /= NSEC_PER_SEC; in ct_dump_line()
207 delta_time = 0; in ct_dump_line()
208 nl_dump(p, "delta-time %llu ", delta_time); in ct_dump_line()
/external/webp/src/mux/
Danim_encode.c1539 const double delta_time = in WebPAnimEncoderAssemble() local
1541 const int average_duration = (int)(delta_time / (enc->in_frame_count_ - 1)); in WebPAnimEncoderAssemble()