Navigation
API > API/Runtime > API/Runtime/Core
Unix implementation of the Time OS functions
| Name | FUnixTime |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Unix/UnixPlatformTime.h |
| Include Path | #include "Unix/UnixPlatformTime.h" |
Syntax
struct FUnixTime : public FGenericPlatformTime
Inheritance Hierarchy
- FGenericPlatformTime → FUnixTime
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ClockSource | clockid_t | Clock source to use | Unix/UnixPlatformTime.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AutoUpdateGameThreadCPUTime
(
double UpdateInterval |
Unix/UnixPlatformTime.h | ||
static clockid_t CalibrateAndSelectClock() |
Benchmarks clock_gettime() and returns the best available clock. | Unix/UnixPlatformTime.h | |
static uint32 Cycles() |
Unix/UnixPlatformTime.h | ||
static uint64 Cycles64() |
Unix/UnixPlatformTime.h | ||
static clockid_t GetClockSource() |
Return the clock source, initiating clock selection (calibration/benchmarking) first if necessary. | Unix/UnixPlatformTime.h | |
static FCPUTime GetCPUTime() |
Unix/UnixPlatformTime.h | ||
static double GetLastIntervalThreadCPUTimeInSeconds() |
Unix/UnixPlatformTime.h | ||
static FCPUTime GetThreadCPUTime() |
Unix/UnixPlatformTime.h | ||
static double InitTiming() |
Unix/UnixPlatformTime.h | ||
static void PrintCalibrationLog() |
Calibration log to be printed at later time | Unix/UnixPlatformTime.h | |
static double Seconds() |
Unix/UnixPlatformTime.h | ||
static bool UpdateCPUTime
(
float DeltaSeconds |
Unix/UnixPlatformTime.h | ||
static bool UpdateThreadCPUTime
(
float |
Unix/UnixPlatformTime.h |