mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Printing rounded vlaues for compute performance factor
Related-To: LOCI-3542 Signed-off-by: Devarinti, Puneeth Kumar Reddy <puneeth.kumar.reddy.devarinti@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c1e27c85d7
commit
6238f53b47
@@ -8,6 +8,7 @@
|
||||
#include <level_zero/zes_api.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <fstream>
|
||||
#include <getopt.h>
|
||||
#include <iostream>
|
||||
@@ -343,7 +344,7 @@ void testSysmanPerformance(ze_device_handle_t &device, std::vector<std::string>
|
||||
double originalFactor = 0;
|
||||
VALIDATECALL(zesPerformanceFactorGetConfig(handle, &originalFactor));
|
||||
if (verbose) {
|
||||
std::cout << "current Performance Factor = " << originalFactor << std::endl;
|
||||
std::cout << "current Performance Factor = " << std::round(originalFactor) << std::endl;
|
||||
}
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user