tp::JobResourcePoolStatistics struct

Contains statistics about the current allocations of a tp::JobResourcePool.

Public functions

auto getTotalAllocationBytes() const -> uint64_t
The total size of all backing allocations made for all job resources.

Public variables

uint64_t bufferAllocationBytes
The size of all backing allocations made for job-local buffers.
uint32_t bufferAllocationCount
The number of backing allocations made for job-local buffers.
uint64_t imageAllocationBytes
The size of all backing allocations made for job-local images.
uint32_t imageAllocationCount
The number of backing allocations made for job-local images.
uint64_t preinitBufferAllocationBytes
The size of all backing allocations made for preinitialized buffers.
uint32_t preinitBufferAllocationCount
The number of backing allocations made for preinitialized buffers.