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:
parent
6ed5162e8e
commit
61843f23c3
2 changed files with 44 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue