FGenericPlatformTime::InitTiming

Does per platform initialization of timing information and returns the current time.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformTime.h

Include

#include "GenericPlatform/GenericPlatformTime.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformTime.cpp

Syntax

static double InitTiming()

Remarks

Does per platform initialization of timing information and returns the current time. This function is called before the execution of main as GStartTime is statically initialized by it. The function also internally sets SecondsPerCycle, which is safe to do as static initialization order enforces complex initialization after the initial 0 initialization of the value.

Returns

current time

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss