MCPcopy Create free account
hub / github.com/comaps/comaps / Print

Method Print

libs/map/benchmark_tool/api.cpp:37–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void AllResult::Print()
38{
39 // m_reading.PrintAllTimes();
40 m_reading.CalcMetrics();
41
42 if (m_all < 0.0)
43 cout << "No frames" << endl;
44 else
45 {
46 cout << fixed << setprecision(10);
47 size_t const count = 1000;
48 cout << "FRAME*1000[ median:" << m_reading.m_med * count << " avg:" << m_reading.m_avg * count
49 << " max:" << m_reading.m_max * count << " ] ";
50 cout << "TOTAL[ idx:" << m_all - m_reading.m_all << " decoding:" << m_reading.m_all << " summ:" << m_all << " ]"
51 << endl;
52 }
53}
54} // namespace bench

Callers 1

mainFunction · 0.45

Calls 1

CalcMetricsMethod · 0.80

Tested by

no test coverage detected