From 5e90e6b3e675c948bdbce4ac04b735f3d9fb0aaf Mon Sep 17 00:00:00 2001 From: gftrobots Date: Mon, 22 Jul 2024 09:29:17 +0200 Subject: [PATCH] Update tf_stage.cpp - corrected Inference time display unit The inference time (time_taken) is displayed as "ms" which is the standard abbreviation for millisecond, however the variable time_taken is declared in microseconds. The abbreviate for that is "us" if displayed with a standard character set. auto time_taken = ExecutionTime(&TfStage::runInference, this).count(); --- post_processing_stages/tf_stage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post_processing_stages/tf_stage.cpp b/post_processing_stages/tf_stage.cpp index d50ad93d..8cb5a4bf 100644 --- a/post_processing_stages/tf_stage.cpp +++ b/post_processing_stages/tf_stage.cpp @@ -113,7 +113,7 @@ bool TfStage::Process(CompletedRequestPtr &completed_request) auto time_taken = ExecutionTime(&TfStage::runInference, this).count(); if (config_->verbose) - LOG(1, "TfStage: Inference time: " << time_taken << " ms"); + LOG(1, "TfStage: Inference time: " << time_taken << " us"); }); } }