Windows implementation of the Time OS functions. 更多...
#include <WindowsPlatformTime.h>
类 FWindowsPlatformTime 继承关系图:静态 Protected 属性 | |
| static float | CPUTimePctRelative |
| Percentage CPU utilization for the last interval relative to one core. | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 FGenericPlatformTime | |
| static FCPUTime | GetCPUTime () |
| static double | GetSecondsPerCycle () |
| static double | GetSecondsPerCycle64 () |
| static FString | PrettyTime (double Seconds) |
| Returns a pretty-string for a time given in seconds. 更多... | |
| static TCHAR * | StrDate (TCHAR *Dest, SIZE_T DestSize) |
| Get the system date 更多... | |
| static TCHAR * | StrTime (TCHAR *Dest, SIZE_T DestSize) |
| Get the system time 更多... | |
| static const TCHAR * | StrTimestamp () |
| Returns a timestamp string built from the current date and time. 更多... | |
| static float | ToMilliseconds (const uint32 Cycles) |
| Converts cycles to milliseconds. | |
| static double | ToMilliseconds64 (const uint64 Cycles) |
| Converts cycles to milliseconds. | |
| static float | ToSeconds (const uint32 Cycles) |
| Converts cycles to seconds. | |
| static double | ToSeconds64 (const uint64 Cycles) |
| Converts cycles to seconds. | |
| static bool | UpdateCPUTime (float DeltaTime) |
| Updates CPU utilization, called through a delegate from the Core ticker. | |
Windows implementation of the Time OS functions.
Please see following UDN post about using rdtsc on processors that support result being invariant across cores.
https://udn.epicgames.com/lists/showpost.php?id=46794&list=unprog3