Time interval type and constants for duration measurements. More...
#include <stdint.h>

Go to the source code of this file.
Typedefs | |
| typedef int64_t | NXTimeInterval |
| Time interval type representing nanoseconds as a 64-bit signed integer. More... | |
Functions | |
| int32_t | NXTimeIntervalMilliseconds (NXTimeInterval interval) |
| Converts a time interval to milliseconds. More... | |
| NXString * | NXTimeIntervalDescription (NXTimeInterval interval, NXTimeInterval truncate) |
| Converts a time interval to a string representation. More... | |
| NXTimeInterval | NXTimeIntervalTimestamp (void) |
| Get the time interval since the application started. More... | |
Variables | |
| const NXTimeInterval | Nanosecond |
| Base unit: 1 nanosecond. | |
| const NXTimeInterval | Millisecond |
| 1 millisecond = 1,000,000 nanoseconds | |
| const NXTimeInterval | Second |
| 1 second = 1000 milliseconds | |
| const NXTimeInterval | Minute |
| 1 minute = 60 seconds | |
| const NXTimeInterval | Hour |
| 1 hour = 60 minutes | |
| const NXTimeInterval | Day |
| 1 day = 24 hours | |
Time interval type and constants for duration measurements.
This header defines NXTimeInterval, a 64-bit signed integer type for representing time durations in nanoseconds. It provides predefined constants for common time units to simplify time calculations.
Definition in file NXTimeInterval.h.