diff --git a/samples/cpp/benchmark_app/main.cpp b/samples/cpp/benchmark_app/main.cpp index b1c2dad9e03..1798d8f6923 100644 --- a/samples/cpp/benchmark_app/main.cpp +++ b/samples/cpp/benchmark_app/main.cpp @@ -354,7 +354,7 @@ int main(int argc, char* argv[]) { << slog::endl; device_config.emplace(ov::enable_profiling(true)); } else if (!FLAGS_pcsort.empty()) { - slog::warn << "Turn on sorted performance counters for " << device << " device since pcsort is" + slog::warn << "Turn on sorted performance counters for " << device << " device since pcsort value is " << FLAGS_pcsort << "." << slog::endl; device_config.emplace(ov::enable_profiling(true)); } else { diff --git a/tools/benchmark_tool/openvino/tools/benchmark/main.py b/tools/benchmark_tool/openvino/tools/benchmark/main.py index 28868b388fa..515f33ae6fd 100644 --- a/tools/benchmark_tool/openvino/tools/benchmark/main.py +++ b/tools/benchmark_tool/openvino/tools/benchmark/main.py @@ -163,6 +163,8 @@ def main(): config[device]['PERF_COUNT'] = 'YES' elif is_flag_set_in_command_line('pcsort'): ## set to default value + logger.warning(f"Turn on performance counters for {device} device " + + f"since pcsort value is {args.perf_counts_sort}.") config[device]['PERF_COUNT'] = 'YES' if args.perf_counts_sort else 'NO' else: ## set to default value diff --git a/tools/benchmark_tool/openvino/tools/benchmark/utils/utils.py b/tools/benchmark_tool/openvino/tools/benchmark/utils/utils.py index 914537cffb2..485af64c3c6 100644 --- a/tools/benchmark_tool/openvino/tools/benchmark/utils/utils.py +++ b/tools/benchmark_tool/openvino/tools/benchmark/utils/utils.py @@ -372,7 +372,7 @@ def print_detail_result(result_list): cpu_time = tmp_result[4] real_proportion = "%.2f"%(tmp_result[5]*100) if real_proportion == "0.00": - real_proportion = "-nan" + real_proportion = "N/A" execType = tmp_result[6] print(f"{node_name[:max_layer_name - 4] + '...' if (len(node_name) >= max_layer_name) else node_name:<30}" f"{str(layerStatus):<20}"