| FGenericPlatformTime
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformTime.h |
Include |
#include "GenericPlatform/GenericPlatformTime.h" |
struct FGenericPlatformTime
Generic implementation for most platforms
Name | Description | ||
---|---|---|---|
|
Cycles() |
||
|
Cycles64() |
||
|
GetCPUTime() |
||
|
double |
GetSecondsPerCycle() |
|
|
double |
GetSecondsPerCycle64() |
|
|
double |
InitTiming() |
Does per platform initialization of timing information and returns the current time. |
|
PrettyTime ( |
Returns a pretty-string for a time given in seconds. (I.e. "4:31 min", "2:16:30 hours", etc) |
|
|
double |
Seconds() |
|
|
TCHAR * |
StrDate |
Get the system date |
|
TCHAR * |
StrTime |
Get the system time |
|
const TCHAR ... |
StrTimestamp() |
Returns a timestamp string built from the current date and time. |
|
SystemTime |
Returns the system time. |
|
|
float |
ToMilliseconds ( |
Converts cycles to milliseconds. |
|
double |
ToMilliseconds64 ( |
Converts cycles to milliseconds. |
|
float |
ToSeconds ( |
Converts cycles to seconds. |
|
double |
ToSeconds64 ( |
Converts cycles to seconds. |
|
UpdateCPUTime ( |
Updates CPU utilization, called through a delegate from the Core ticker. |
|
|
UtcTime |
Returns the UTC time. |
Name |
Description |
---|---|
SecondsPerCycle |
|
SecondsPerCycle64 |