/** * payloads/time.h * * A timee record. * * (c) 2026 Simon Brooke * Licensed under GPL version 2.0, or, at your option, any later version. */ #ifndef __psse_payloads_time_h #define __psse_payloads_time_h #include #include #include #include "memory/pointer.h" /** * @brief Tag for a time stamp. */ #define TIMETAG "TIM" #define TIMETV 5065044 /** * The payload of a time cell: an unsigned 128 bit value representing micro- * seconds since the estimated date of the Big Bang (actually, for * convenience, 14Bn years before 1st Jan 1970 (the UNIX epoch)) */ struct time_payload { unsigned __int128 value; }; struct pso_pointer make_time( struct pso_pointer stack_frame, struct pso_pointer time ); #endif