FCPUTime

Contains CPU utilization data.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "GenericPlatform/GenericPlatformTime.h"

Syntax

struct FCPUTime

Remarks

Contains CPU utilization data.

Variables

Name Description

Public variable

float

 

CPUTimePct

Percentage CPU utilization for the last interval.

Public variable

float

 

CPUTimePctRelative

Percentage CPU utilization for the last interval relative to one core, so if CPUTimePct is 8.0% and you have 6 core this value will be 48.0%.

Constructors

Name Description

Public function

FCPUTime

(
    float InCPUTimePct,
    float InCPUTimePctRelative
)

Initialization constructor.

Operators

Name Description

Public function

FCPUTime &

 

operator+=

(
    const FCPUTime& Other
)

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