/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_def_task01.c | 102 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()
|
D | cpuctl_def_task03.c | 100 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()
|
D | cpuctl_def_task02.c | 104 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()
|
D | cpuctl_test03.c | 102 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()
|
D | cpuctl_test01.c | 102 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()
|
D | cpuctl_test04.c | 103 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()
|
D | cpuctl_def_task04.c | 102 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()
|
D | cpuctl_test02.c | 106 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/ |
D | benchmark_meta_gemm.cc | 171 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/ltp/tools/pounder21/src/time_tests/ |
D | drift-test.py | 79 delta_time = time.mktime(now_time) - time.mktime(start_time) variable 81 drift = delta_offset / delta_time * 1000000
|
/external/python/cpython2/Lib/test/ |
D | test_timeit.py | 105 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/ |
D | test_timeit.py | 109 delta_time = t.timeit(**kwargs) 112 self.assertEqual(delta_time, number) 141 delta_time = timeit.timeit(self.fake_stmt, self.fake_setup, number=0, 143 self.assertEqual(delta_time, 0)
|
/external/libnetfilter_conntrack/src/conntrack/ |
D | snprintf_xml.c | 215 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()
|
D | snprintf_default.c | 279 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/ |
D | ct_obj.c | 202 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/ |
D | anim_encode.c | 1539 const double delta_time = in WebPAnimEncoderAssemble() local 1541 const int average_duration = (int)(delta_time / (enc->in_frame_count_ - 1)); in WebPAnimEncoderAssemble()
|