Small fix and improvements in debug messages
This commit is contained in:
@@ -141,7 +141,7 @@ void TlmRecorder::introduceTransactionSystem(tlm::tlm_generic_payload& trans)
|
||||
else
|
||||
currentTransactionsInSystem[&trans].timeOfGeneration = GenerationExtension::getExtension(&trans).TimeOfGeneration();
|
||||
|
||||
printDebugMessage("New transaction #" + to_string(id + 1) + " generation time " + currentTransactionsInSystem[&trans].timeOfGeneration.to_string());
|
||||
printDebugMessage("New transaction #" + to_string(id) + " generation time " + currentTransactionsInSystem[&trans].timeOfGeneration.to_string());
|
||||
|
||||
if (id % transactionCommitRate == 0)
|
||||
{
|
||||
@@ -156,7 +156,7 @@ void TlmRecorder::removeTransactionFromSystem(tlm::tlm_generic_payload& trans)
|
||||
{
|
||||
assert(currentTransactionsInSystem.count(&trans) != 0);
|
||||
|
||||
printDebugMessage("Removing transaction #" + to_string(currentTransactionsInSystem[&trans].id + 1));
|
||||
printDebugMessage("Removing transaction #" + to_string(currentTransactionsInSystem[&trans].id));
|
||||
|
||||
Transaction& recordingData = currentTransactionsInSystem[&trans];
|
||||
recordedData.push_back(recordingData);
|
||||
|
||||
@@ -136,8 +136,7 @@ void TracePlayer<BUSWIDTH>::peqCallback(tlm_generic_payload &payload, const tlm_
|
||||
sendToTarget(payload, phase, SC_ZERO_TIME);
|
||||
|
||||
transactionsSent++;
|
||||
DebugManager::getInstance().printDebugMessage(name(),
|
||||
"Sending transaction number: " + std::to_string(transactionsSent));
|
||||
DebugManager::getInstance().printDebugMessage(name(), "Performing request #" + std::to_string(transactionsSent));
|
||||
}
|
||||
else if (phase == END_REQ)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user