Fixed printPerfomanceCounters in speech sample (#5850)
This commit is contained in:
parent
5e92154422
commit
67c75740bd
@ -443,7 +443,11 @@ void printPerformanceCounters(std::map<std::string, InferenceEngine::InferenceEn
|
||||
float freq = getGnaFrequencyMHz();
|
||||
current_units /= freq * 1000;
|
||||
call_units /= freq;
|
||||
stream << std::setw(30) << std::left << counter_name.substr(4, counter_name.size() - 1);
|
||||
if (FLAGS_d.find("GNA") != std::string::npos) {
|
||||
stream << std::setw(30) << std::left << counter_name.substr(4, counter_name.size() - 1);
|
||||
} else {
|
||||
stream << std::setw(30) << std::left << counter_name;
|
||||
}
|
||||
stream << std::setw(16) << std::right << current_units;
|
||||
stream << std::setw(21) << std::right << call_units;
|
||||
stream << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user