Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformTime
Description
Each platform implements these two functions, which return the current time in platform-specific cpu cycles. Cycles64 should be used for most purposes as it may be higher resolution and will not roll over during execution:
static uint32 Cycles(); static uint64 Cycles64(); Returns seconds per cycle, to pair with Cycles().
| Name | GetSecondsPerCycle |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformTime.h |
| Include Path | #include "GenericPlatform/GenericPlatformTime.h" |
static double GetSecondsPerCycle()