Skip to content
Snippets Groups Projects

Resolve "Add origin timestamp to events"

Merged Utz-Uwe Haus requested to merge 78-add-origin-timestamp-to-events into devel
13 files
+ 139
71
Compare changes
  • Side-by-side
  • Inline
Files
13
+ 13
0
@@ -111,6 +111,19 @@ extern "C" {
/** the number of characters needed to print an @ref mstro_app_id value using @ref PRIappid */
#define MSTRO_APP_ID_STR_LEN (21) // decimal, no sign, no NUL
/** type to express nanosecond time points (since an arbitrary point in time) */
typedef uint64_t mstro_nanosec_t;
/** Printing support */
#define PRInanosec PRIu64
/** Return the current time */
mstro_nanosec_t
mstro_clock(void);
/** nsec-per-seconds multiplier */
#define NSEC_PER_SEC ((mstro_nanosec_t)1000*1000*1000)
/**@} (end of group MSTRO_Core) */
Loading