MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / update_benchmark

Function update_benchmark

fftools/ffmpeg.c:551–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551void update_benchmark(const char *fmt, ...)
552{
553 if (do_benchmark_all) {
554 BenchmarkTimeStamps t = get_benchmark_time_stamps();
555 va_list va;
556 char buf[1024];
557
558 if (fmt) {
559 va_start(va, fmt);
560 vsnprintf(buf, sizeof(buf), fmt, va);
561 va_end(va);
562 av_log(NULL, AV_LOG_INFO,
563 "bench: %8" PRIu64 " user %8" PRIu64 " sys %8" PRIu64 " real %s \n",
564 t.user_usec - current_time.user_usec,
565 t.sys_usec - current_time.sys_usec,
566 t.real_usec - current_time.real_usec, buf);
567 }
568 current_time = t;
569 }
570}
571
572static void print_report(int is_last_report, int64_t timer_start, int64_t cur_time, int64_t pts)
573{

Callers 2

encode_frameFunction · 0.85
packet_decodeFunction · 0.85

Calls 2

av_logFunction · 0.85

Tested by

no test coverage detected