diff options
author | fishsoupisgood <github@madingley.org> | 2019-05-04 12:37:04 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2019-05-04 12:39:08 +0100 |
commit | 74e577ac110513669a6d677842ceca4c5b1252ca (patch) | |
tree | cfe45c037717a740fa2fa6b1c99aa66814047055 /app/report.c | |
parent | 1b0a5f886412f0a292ec2b198e65760e3a1f45a1 (diff) | |
download | clock-74e577ac110513669a6d677842ceca4c5b1252ca.tar.gz clock-74e577ac110513669a6d677842ceca4c5b1252ca.tar.bz2 clock-74e577ac110513669a6d677842ceca4c5b1252ca.zip |
cut #1
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); +} + + |