Skip to content

Statistics::GPU

Nested class for GPU-specific statistics.

#include "Utils/Statistics.h"

Public Functions

Name
GPU() =delete<br>Deleted constructor to prevent instantiation.
~GPU() =delete<br>Deleted destructor to prevent destruction.

Public Attributes

Name
intAllocatedMemory <br>Size of allocated GPU memory, in megabytes.
intDedicatedMemory <br>Size of dedicated GPU memory, in megabytes.
intEvictedMemory <br>Size of evicted GPU memory, in megabytes.
intFreeMemory <br>Size of available GPU memory, in megabytes.
intTotalMemory <br>Total size of GPU memory, in megabytes.

Public Functions Documentation

function GPU

cpp
GPU() =delete
GPU() =delete

Deleted constructor to prevent instantiation.

function ~GPU

cpp
~GPU() =delete
~GPU() =delete

Deleted destructor to prevent destruction.

Public Attributes Documentation

variable AllocatedMemory

cpp
static int AllocatedMemory = 0;
static int AllocatedMemory = 0;

Size of allocated GPU memory, in megabytes.

variable DedicatedMemory

cpp
static int DedicatedMemory = 0;
static int DedicatedMemory = 0;

Size of dedicated GPU memory, in megabytes.

variable EvictedMemory

cpp
static int EvictedMemory = 0;
static int EvictedMemory = 0;

Size of evicted GPU memory, in megabytes.

variable FreeMemory

cpp
static int FreeMemory = 0;
static int FreeMemory = 0;

Size of available GPU memory, in megabytes.

variable TotalMemory

cpp
static int TotalMemory = 0;
static int TotalMemory = 0;

Total size of GPU memory, in megabytes.


Updated on 2025-05-31 at 12:55:30 +0000