add debug output to sf_replay

This commit is contained in:
2020-04-24 15:56:25 +02:00
parent 1b75abd386
commit 9e1ae6a426
+11 -1
View File
@@ -108,7 +108,7 @@ void sf_replay (
using namespace chrono;
cout << "[" << system_clock::now() << "]";
cout << "[sf_replay::receive]";
cout << "[sf_replay::sf_replay]";
cout << " Reading from filename " << filename << endl;
#endif
@@ -171,6 +171,16 @@ void sf_replay (
MODULE_N_BYTES,
0);
#ifdef DEBUG_OUTPUT
using namespace date;
using namespace chrono;
cout << "[" << system_clock::now() << "]";
cout << "[sf_replay::sf_replay]";
cout << " Sent pulse_id ";
cout << current_pulse_id << endl;
#endif
current_pulse_id++;
}
}