Add sleep logic in playback.

This also removes the "." between the seconds and nanos so that we don't mistake it
for a float, which it isn't.
This commit is contained in:
Eli Ribble 2021-08-27 12:44:14 -06:00
parent 6ed5162e8e
commit 61843f23c3
2 changed files with 44 additions and 2 deletions

View file

@ -62,7 +62,7 @@ int dump_event(struct timespec* start, int fd, char* type) {
return 1;
}
printf("%ld.%ld,%s,%s\n",
printf("%ld %ld,%s,%s\n",
diff.tv_sec,
diff.tv_nsec,
type,