|
Unravel Engine C++ Reference
|
Cumulative and last-pass statistics reported by the eviction system. More...
#include <eviction.h>
Public Attributes | |
| std::uint64_t | resident_count = 0 |
| Resources currently resident on the GPU. | |
| std::uint64_t | resident_bytes = 0 |
| GPU bytes currently resident. | |
| std::uint64_t | evicted_count = 0 |
| Resources currently evicted. | |
| std::uint64_t | evicted_bytes = 0 |
| GPU bytes currently reclaimed. | |
| std::uint64_t | registered_count = 0 |
| Total tracked resources (resident + evicted). | |
| std::uint64_t | total_evictions = 0 |
| Lifetime number of evictions. | |
| std::uint64_t | total_restores = 0 |
| Lifetime number of restores. | |
| std::uint64_t | total_bytes_evicted = 0 |
| Lifetime GPU bytes evicted. | |
| std::uint64_t | total_bytes_restored = 0 |
| Lifetime GPU bytes restored. | |
| std::uint64_t | failed_restores = 0 |
| Restores that failed to recreate a handle. | |
| std::uint64_t | thrash_events = 0 |
| Restores within min_age_frames of their eviction. | |
| std::uint64_t | budget_bytes = 0 |
| Active budget reported by the driver (0 = none). | |
| std::uint64_t | target_bytes = 0 |
| Watermark the driver evicts down to. | |
| std::uint64_t | budget_used_bytes = 0 |
| Metric compared against the budget (e.g. GPU mem used). | |
| std::uint64_t | last_pass_scanned = 0 |
| Candidates considered by the most recent sweep. | |
| std::uint64_t | last_pass_evicted = 0 |
| Resources evicted by the most recent sweep. | |
| std::uint64_t | last_pass_freed_bytes = 0 |
| GPU bytes reclaimed by the most recent sweep. | |
| std::uint64_t | pending_release_bytes = 0 |
| Destroys queued in bgfx but not yet reflected in gpuMemoryUsed. | |
| double | last_pass_ms = 0.0 |
| Duration of the most recent sweep in milliseconds. | |
| double | last_restore_ms = 0.0 |
| Duration of the most recent restore in milliseconds. | |
Cumulative and last-pass statistics reported by the eviction system.
Definition at line 131 of file eviction.h.
| std::uint64_t gfx::eviction::stats::budget_bytes = 0 |
Active budget reported by the driver (0 = none).
Definition at line 144 of file eviction.h.
| std::uint64_t gfx::eviction::stats::budget_used_bytes = 0 |
Metric compared against the budget (e.g. GPU mem used).
Definition at line 146 of file eviction.h.
| std::uint64_t gfx::eviction::stats::evicted_bytes = 0 |
GPU bytes currently reclaimed.
Definition at line 136 of file eviction.h.
| std::uint64_t gfx::eviction::stats::evicted_count = 0 |
Resources currently evicted.
Definition at line 135 of file eviction.h.
| std::uint64_t gfx::eviction::stats::failed_restores = 0 |
Restores that failed to recreate a handle.
Definition at line 142 of file eviction.h.
| std::uint64_t gfx::eviction::stats::last_pass_evicted = 0 |
Resources evicted by the most recent sweep.
Definition at line 148 of file eviction.h.
| std::uint64_t gfx::eviction::stats::last_pass_freed_bytes = 0 |
GPU bytes reclaimed by the most recent sweep.
Definition at line 149 of file eviction.h.
| double gfx::eviction::stats::last_pass_ms = 0.0 |
Duration of the most recent sweep in milliseconds.
Definition at line 151 of file eviction.h.
| std::uint64_t gfx::eviction::stats::last_pass_scanned = 0 |
Candidates considered by the most recent sweep.
Definition at line 147 of file eviction.h.
| double gfx::eviction::stats::last_restore_ms = 0.0 |
Duration of the most recent restore in milliseconds.
Definition at line 152 of file eviction.h.
| std::uint64_t gfx::eviction::stats::pending_release_bytes = 0 |
Destroys queued in bgfx but not yet reflected in gpuMemoryUsed.
Definition at line 150 of file eviction.h.
| std::uint64_t gfx::eviction::stats::registered_count = 0 |
Total tracked resources (resident + evicted).
Definition at line 137 of file eviction.h.
| std::uint64_t gfx::eviction::stats::resident_bytes = 0 |
GPU bytes currently resident.
Definition at line 134 of file eviction.h.
| std::uint64_t gfx::eviction::stats::resident_count = 0 |
Resources currently resident on the GPU.
Definition at line 133 of file eviction.h.
| std::uint64_t gfx::eviction::stats::target_bytes = 0 |
Watermark the driver evicts down to.
Definition at line 145 of file eviction.h.
| std::uint64_t gfx::eviction::stats::thrash_events = 0 |
Restores within min_age_frames of their eviction.
Definition at line 143 of file eviction.h.
| std::uint64_t gfx::eviction::stats::total_bytes_evicted = 0 |
Lifetime GPU bytes evicted.
Definition at line 140 of file eviction.h.
| std::uint64_t gfx::eviction::stats::total_bytes_restored = 0 |
Lifetime GPU bytes restored.
Definition at line 141 of file eviction.h.
| std::uint64_t gfx::eviction::stats::total_evictions = 0 |
Lifetime number of evictions.
Definition at line 138 of file eviction.h.
| std::uint64_t gfx::eviction::stats::total_restores = 0 |
Lifetime number of restores.
Definition at line 139 of file eviction.h.