Skip to content

Commit 5e19b44

Browse files
committed
add debug
1 parent eb47610 commit 5e19b44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MIDAS/src/hilsim/stream/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ int main(int argc, char** argv) {
399399
}
400400

401401
printf(".BEGIN\n");
402+
fflush(stdout);
402403

403404
if (outptr) {
404405
fputs(".KAMAJI_STREAM\n", outptr);
@@ -431,6 +432,8 @@ int main(int argc, char** argv) {
431432
cur_entry_time = entry.ts;
432433

433434
auto latency = millis - (cur_entry_time - first_entry_time);
435+
printf(".r %i", latency);
436+
fflush(stdout);
434437

435438
// check filter
436439
if(!ignore_disc[entry.disc]) {

0 commit comments

Comments
 (0)