@@ -1225,40 +1225,42 @@ const char * getTypeString(uint64 typeID)
1225
1225
std::string getMSREventString (const uint64 & index, const std::string & type, const PCM::MSRType & msrType)
1226
1226
{
1227
1227
std::stringstream c;
1228
- c << type << " : 0x" << std::hex << index << " : " << getTypeString (msrType);
1228
+ c << type << " /MSR 0x" << std::hex << index << " / " << getTypeString (msrType);
1229
1229
return c.str ();
1230
1230
}
1231
1231
1232
1232
std::string getPCICFGEventString (const PCM::RawEventEncoding & eventEnc, const std::string& type)
1233
1233
{
1234
1234
std::stringstream c;
1235
- c << type << " :0x" << std::hex << eventEnc[PCM::PCICFGEventPosition::deviceID] << " :0x" << eventEnc[PCM::PCICFGEventPosition::offset] << " :0x" << eventEnc[PCM::PCICFGEventPosition::width] << " :"
1235
+ c << type << " /deviceID 0x" << std::hex << eventEnc[PCM::PCICFGEventPosition::deviceID]
1236
+ << " /offset 0x" << eventEnc[PCM::PCICFGEventPosition::offset]
1237
+ << " /width 0x" << eventEnc[PCM::PCICFGEventPosition::width] << " /"
1236
1238
<< getTypeString (eventEnc[PCM::PCICFGEventPosition::type]);
1237
1239
return c.str ();
1238
1240
}
1239
1241
1240
1242
std::string getMMIOEventString (const PCM::RawEventEncoding& eventEnc, const std::string& type)
1241
1243
{
1242
1244
std::stringstream c;
1243
- c << type << " : 0x" << std::hex <<
1245
+ c << type << " /deviceID 0x" << std::hex <<
1244
1246
eventEnc[PCM::MMIOEventPosition::deviceID] <<
1245
- " : 0x" << eventEnc[PCM::MMIOEventPosition::offset] <<
1246
- " : 0x" << eventEnc[PCM::MMIOEventPosition::membar_bits1] <<
1247
- " : 0x" << eventEnc[PCM::MMIOEventPosition::membar_bits2] <<
1248
- " : 0x" << eventEnc[PCM::MMIOEventPosition::width] <<
1249
- " : " << getTypeString (eventEnc[PCM::MMIOEventPosition::type]);
1247
+ " /offset 0x" << eventEnc[PCM::MMIOEventPosition::offset] <<
1248
+ " /membar_bits1 0x" << eventEnc[PCM::MMIOEventPosition::membar_bits1] <<
1249
+ " /membar_bits2 0x" << eventEnc[PCM::MMIOEventPosition::membar_bits2] <<
1250
+ " /width 0x" << eventEnc[PCM::MMIOEventPosition::width] <<
1251
+ " / " << getTypeString (eventEnc[PCM::MMIOEventPosition::type]);
1250
1252
return c.str ();
1251
1253
}
1252
1254
1253
1255
std::string getPMTEventString (const PCM::RawEventEncoding& eventEnc, const std::string& type)
1254
1256
{
1255
1257
std::stringstream c;
1256
- c << type << " : 0x" << std::hex <<
1258
+ c << type << " /UID 0x" << std::hex <<
1257
1259
eventEnc[PCM::PMTEventPosition::UID] <<
1258
- " : 0x" << eventEnc[PCM::PMTEventPosition::offset] <<
1259
- " : 0x" << eventEnc[PCM::PMTEventPosition::lsb] <<
1260
- " : 0x" << eventEnc[PCM::PMTEventPosition::msb] <<
1261
- " : " << getTypeString (eventEnc[PCM::PMTEventPosition::type]);
1260
+ " /offset 0x" << eventEnc[PCM::PMTEventPosition::offset] <<
1261
+ " /lsb 0x" << eventEnc[PCM::PMTEventPosition::lsb] <<
1262
+ " /msb 0x" << eventEnc[PCM::PMTEventPosition::msb] <<
1263
+ " / " << getTypeString (eventEnc[PCM::PMTEventPosition::type]);
1262
1264
return c.str ();
1263
1265
}
1264
1266
0 commit comments