Final Platform Layer 0.9.8-beta
|
This category contains functions for time comparisons. More...
Data Structures | |
union | fplTimestamp |
A structure storing a timestamp, used for delta measurements only. More... | |
Macros | |
#define | FPL_TIMEOUT_INFINITE |
Infinite timeout constant. | |
Typedefs | |
typedef uint64_t | fplMilliseconds |
A type definition for milliseconds / 64-bit. | |
typedef double | fplSeconds |
A type definition for seconds / 64-bit. | |
typedef uint32_t | fplTimeoutValue |
A type definition for a timeout value in milliseconds. | |
typedef union fplTimestamp | fplTimestamp |
A structure storing a timestamp, used for delta measurements only. | |
Functions | |
fpl_platform_api fplMilliseconds | fplMillisecondsQuery () |
Gets the current system clock in milliseconds, since some fixed starting point (OS start, System start, etc), used for time delta measurements only. | |
fpl_platform_api fplSeconds | fplTimestampElapsed (const fplTimestamp start, const fplTimestamp finish) |
Gets the delta value from two fplTimestamp values in seconds. | |
fpl_platform_api fplTimestamp | fplTimestampQuery () |
Gets the current fplTimestamp with most precision, used for time delta measurements only. | |
This category contains functions for time comparisons.
#define FPL_TIMEOUT_INFINITE |
Infinite timeout constant.
Definition at line 4502 of file final_platform_layer.h.
typedef uint64_t fplMilliseconds |
A type definition for milliseconds / 64-bit.
Definition at line 4508 of file final_platform_layer.h.
typedef double fplSeconds |
A type definition for seconds / 64-bit.
Definition at line 4505 of file final_platform_layer.h.
typedef uint32_t fplTimeoutValue |
A type definition for a timeout value in milliseconds.
Definition at line 4500 of file final_platform_layer.h.
fpl_platform_api fplMilliseconds fplMillisecondsQuery | ( | ) |
Gets the current system clock in milliseconds, since some fixed starting point (OS start, System start, etc), used for time delta measurements only.
fpl_platform_api fplSeconds fplTimestampElapsed | ( | const fplTimestamp | start, |
const fplTimestamp | finish | ||
) |
Gets the delta value from two fplTimestamp values in seconds.
fpl_platform_api fplTimestamp fplTimestampQuery | ( | ) |
Gets the current fplTimestamp with most precision, used for time delta measurements only.