Class VulkanLWJGLMetricsInstance
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLMetricsInstance
- All Implemented Interfaces:
VulkanMetricsInstanceType
Metrics for a single Vulkan instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglonglonglonglonglongvoidsetAllocatorTracker(VulkanHostAllocatorTracker inAllocatorTracker) The allocator tracker is assigned after construction, once the host allocator has been created.
-
Constructor Details
-
VulkanLWJGLMetricsInstance
public VulkanLWJGLMetricsInstance(long inInstanceID) - Parameters:
inInstanceID- The unique instance ID
-
-
Method Details
-
instanceID
public long instanceID()- Specified by:
instanceIDin interfaceVulkanMetricsInstanceType- Returns:
- The unique instance ID
-
setAllocatorTracker
The allocator tracker is assigned after construction, once the host allocator has been created.- Parameters:
inAllocatorTracker- The allocator tracker
-
getAllocatedCommandScopeBytes
public long getAllocatedCommandScopeBytes()- Specified by:
getAllocatedCommandScopeBytesin interfaceVulkanMetricsInstanceType- Returns:
- The number of octets allocated at command scope
-
getAllocatedCacheScopeBytes
public long getAllocatedCacheScopeBytes()- Specified by:
getAllocatedCacheScopeBytesin interfaceVulkanMetricsInstanceType- Returns:
- The number of octets allocated at cache scope
-
getAllocatedDeviceScopeBytes
public long getAllocatedDeviceScopeBytes()- Specified by:
getAllocatedDeviceScopeBytesin interfaceVulkanMetricsInstanceType- Returns:
- The number of octets allocated at device scope
-
getAllocatedInstanceScopeBytes
public long getAllocatedInstanceScopeBytes()- Specified by:
getAllocatedInstanceScopeBytesin interfaceVulkanMetricsInstanceType- Returns:
- The number of octets allocated at instance scope
-
getAllocatedObjectScopeBytes
public long getAllocatedObjectScopeBytes()- Specified by:
getAllocatedObjectScopeBytesin interfaceVulkanMetricsInstanceType- Returns:
- The number of octets allocated at object scope
-