Skip to content

Commit 38fd223

Browse files
gangdeng-intelrdementi
authored andcommitted
For issue#547: remove spaces for code alignment
1 parent 22891bd commit 38fd223

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/cpucounters.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ class QATTelemetryVirtualGeneralConfigRegister : public HWRegister
921921
operation = PCM::IDX_OPERATION(val);
922922
#ifdef __linux__
923923
std::ostringstream sysfs_path(std::ostringstream::out);
924-
std::string telemetry_filename;
924+
std::string telemetry_filename;
925925
switch (operation)
926926
{
927927
case PCM::QAT_TLM_START: //enable
@@ -2405,13 +2405,13 @@ void PCM::initUncorePMUsDirect()
24052405
for (auto & devInfo : devInfos)
24062406
{
24072407
std::ostringstream qat_TLMCTL_sysfs_path(std::ostringstream::out);
2408-
/*parse telemetry follow rule of out of tree driver*/
2408+
/*parse telemetry follow rule of out of tree driver*/
24092409
qat_TLMCTL_sysfs_path << std::string("/sys/bus/pci/devices/") <<
24102410
std::hex << std::setw(4) << std::setfill('0') << devInfo.domain << ":" <<
24112411
std::hex << std::setw(2) << std::setfill('0') << devInfo.bus << ":" <<
24122412
std::hex << std::setw(2) << std::setfill('0') << devInfo.dev << "." <<
24132413
std::hex << devInfo.func << "/telemetry/control";
2414-
std::string qatTLMCTLStr = readSysFS(qat_TLMCTL_sysfs_path.str().c_str(), true);
2414+
std::string qatTLMCTLStr = readSysFS(qat_TLMCTL_sysfs_path.str().c_str(), true);
24152415
if (!qatTLMCTLStr.size()) //check TLM feature available or NOT.
24162416
{
24172417
qat_TLMCTL_sysfs_path.str("");
@@ -2422,11 +2422,11 @@ void PCM::initUncorePMUsDirect()
24222422
std::hex << std::setw(2) << std::setfill('0') << devInfo.dev << "." <<
24232423
std::hex << devInfo.func << "/telemetry/control";
24242424
qatTLMCTLStr = readSysFS(qat_TLMCTL_sysfs_path.str().c_str(), true);
2425-
if(!qatTLMCTLStr.size()){
2425+
if(!qatTLMCTLStr.size()){
24262426
std::cout << "Warning: IDX - QAT telemetry feature of B:0x" << std::hex << devInfo.bus << ",D:0x" << devInfo.dev << ",F:0x" << devInfo.func \
24272427
<< " is NOT available, skipped." << std::dec << std::endl;
2428-
continue;
2429-
}
2428+
continue;
2429+
}
24302430
}
24312431
idxPMUs[IDX_QAT].push_back(createQATPMU(devInfo.numa_node, devInfo.socket_id, devInfo.domain , devInfo.bus, devInfo.dev , devInfo.func));
24322432
}

0 commit comments

Comments
 (0)