FCPUTime

Contains CPU utilization data.

Choose your operating system:

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
)