Macros used to measure and validate response time in real-time systems.
|Initializes the CppTest_Time structure with the given values. Nanoseconds should be between -999999999 and 999999999.|
|Initializes the CppTest_Time structure with the current time. Time is stored as number of seconds (and nanoseconds) since 00:00:00 UTC, January 1, 1970. Accuracy depends on the platform used.|
|Returns the difference between t1 and t2.|
Compares two CppTest_Time structures. Returns:
< 0: If t1 is smaller/earlier than t2
== 0: If t1 and t2 are equal
> 0: If t1 is bigger/later than t2