diff options
Diffstat (limited to 'app/report.c')
-rw-r--r-- | app/report.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/report.c b/app/report.c new file mode 100644 index 0000000..a7bd4db --- /dev/null +++ b/app/report.c @@ -0,0 +1,15 @@ +#include "project.h" + + +void report_time (const char *src, EPOCH e, uint64_t abs, const char *info) +{ + printf ("%s %08x%08x %08x%08x %s\r\n", + src, + (unsigned) (abs >> 32), + (unsigned) (abs & 0xffffffff), + (unsigned) (e.s >> 32), + (unsigned) (e.s & 0xffffffff), + info); +} + + |