mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-26 19:52:38 +00:00
[perf_metric] added inferences per second metric (#10921)
This commit is contained in:
parent
3897b93606
commit
eabb14788a
1 changed files with 1 additions and 0 deletions
|
|
@ -147,6 +147,7 @@ Status PerformanceRunner::Run() {
|
|||
<< "Average inference time cost: " << performance_result_.total_time_cost / performance_result_.time_costs.size() * 1000 << " ms\n"
|
||||
// Time between start and end of run. Less than Total time cost when running requests in parallel.
|
||||
<< "Total inference run time: " << inference_duration.count() << " s\n"
|
||||
<< "Number of inferences per second: " << performance_result_.time_costs.size() / inference_duration.count() << " \n"
|
||||
<< "Avg CPU usage: " << performance_result_.average_CPU_usage << " %\n"
|
||||
<< "Peak working set size: " << performance_result_.peak_workingset_size << " bytes"
|
||||
<< std::endl;
|
||||
|
|
|
|||
Loading…
Reference in a new issue