Searched refs:format_duration (Results 1 – 11 of 11) sorted by relevance
/third_party/nghttp2/src/ |
D | util_test.cc | 377 CU_ASSERT("0us" == util::format_duration(std::chrono::microseconds(0))); in test_util_format_duration() 378 CU_ASSERT("999us" == util::format_duration(std::chrono::microseconds(999))); in test_util_format_duration() 379 CU_ASSERT("1.00ms" == util::format_duration(std::chrono::microseconds(1000))); in test_util_format_duration() 380 CU_ASSERT("1.09ms" == util::format_duration(std::chrono::microseconds(1090))); in test_util_format_duration() 381 CU_ASSERT("1.01ms" == util::format_duration(std::chrono::microseconds(1009))); in test_util_format_duration() 383 util::format_duration(std::chrono::microseconds(999990))); in test_util_format_duration() 385 util::format_duration(std::chrono::microseconds(1000000))); in test_util_format_duration() 387 util::format_duration(std::chrono::microseconds(1050000))); in test_util_format_duration() 389 CU_ASSERT("0us" == util::format_duration(0.)); in test_util_format_duration() 390 CU_ASSERT("999us" == util::format_duration(0.000999)); in test_util_format_duration() [all …]
|
D | h2load.cc | 2769 << util::format_duration(duration) << ", " << rps << " req/s, " in main() 2787 << std::setw(10) << util::format_duration(ts.request.min) << " " in main() 2788 << std::setw(10) << util::format_duration(ts.request.max) << " " in main() 2789 << std::setw(10) << util::format_duration(ts.request.mean) << " " in main() 2790 << std::setw(10) << util::format_duration(ts.request.sd) in main() 2793 << util::format_duration(ts.connect.min) << " " << std::setw(10) in main() 2794 << util::format_duration(ts.connect.max) << " " << std::setw(10) in main() 2795 << util::format_duration(ts.connect.mean) << " " << std::setw(10) in main() 2796 << util::format_duration(ts.connect.sd) << std::setw(9) in main() 2799 << util::format_duration(ts.ttfb.min) << " " << std::setw(10) in main() [all …]
|
D | util.h | 680 std::string format_duration(const std::chrono::microseconds &u); 683 std::string format_duration(double t);
|
D | util.cc | 1149 std::string format_duration(const std::chrono::microseconds &u) { in format_duration() function 1165 std::string format_duration(double t) { in format_duration() function
|
D | nghttp.cc | 2222 << ("+" + util::format_duration(response_end)) << " " in print_stats() 2224 << ("+" + util::format_duration(request_start)) << " " in print_stats() 2225 << std::setw(8) << util::format_duration(total) << " " in print_stats()
|
/third_party/python/Lib/test/libregrtest/ |
D | runtest_mp.py | 22 from test.libregrtest.utils import format_duration, print_warning 356 text = '%s (%s)' % (current_test_name, format_duration(dt)) 384 % (format_duration(self.ns.timeout), 385 format_duration(self.worker_timeout))) 433 text += ' (%s)' % format_duration(result.duration_sec)
|
D | main.py | 20 from test.libregrtest.utils import removepy, count, format_duration, printlist 382 print("- %s: %s" % (test, format_duration(test_time))) 419 msg += " (timeout: %s)" % format_duration(self.ns.timeout) 449 previous_test = "%s in %s" % (previous_test, format_duration(test_time)) 555 print("Total duration: %s" % format_duration(duration))
|
D | utils.py | 8 def format_duration(seconds): function
|
D | runtest.py | 16 from test.libregrtest.utils import clear_caches, format_duration, print_warning
|
/third_party/python/Lib/test/ |
D | test_regrtest.py | 1329 self.assertEqual(utils.format_duration(0), 1331 self.assertEqual(utils.format_duration(1e-9), 1333 self.assertEqual(utils.format_duration(10e-3), 1335 self.assertEqual(utils.format_duration(1.5), 1337 self.assertEqual(utils.format_duration(1), 1339 self.assertEqual(utils.format_duration(2 * 60), 1341 self.assertEqual(utils.format_duration(2 * 60 + 1), 1343 self.assertEqual(utils.format_duration(3 * 3600), 1345 self.assertEqual(utils.format_duration(3 * 3600 + 2 * 60 + 1), 1347 self.assertEqual(utils.format_duration(3 * 3600 + 1),
|
/third_party/ffmpeg/libavutil/ |
D | opt.c | 744 static void format_duration(char *buf, size_t size, int64_t d) in format_duration() function 864 format_duration(buf, sizeof(buf), i64); in av_opt_get() 1298 format_duration(buf, sizeof(buf), opt->default_val.i64); in opt_list()
|