1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

update receive timestamp in villas-hook

This commit is contained in:
Steffen Vogel 2017-03-20 09:03:48 -03:00
parent 4526f8b534
commit 7d28fbd6c4

View file

@ -13,6 +13,7 @@
#include <stdio.h>
#include <unistd.h>
#include <villas/timing.h>
#include <villas/sample.h>
#include <villas/hook.h>
#include <villas/utils.h>
@ -143,6 +144,8 @@ int main(int argc, char *argv[])
ret = sample_fscan(stdin, hi.samples[j], NULL);
if (ret < 0)
break;
hi.samples[j]->ts.received = time_now();
}
debug(15, "Read %d samples from stdin", cnt);