Expand description
A read of the GPU counters, made into what the status bar and the panel show: per adapter its use and memory, per process its use and memory. Pure: the counters’ instances in, figures out, so every case (several adapters, an adapter no process uses, a counter set the machine lacks) is a test on any platform.
Structs§
- Adapter
Info - What Windows says an adapter is: its name and the memory it was built with (DXGI), and what kind of device it is
(the kernel’s adapter type,
AdapterType). The counters name an adapter by its id only. - Adapter
Type - The kernel’s account of an adapter (
D3DKMT_ADAPTERTYPE, the bits of itsValue): what Windows says the adapter is, which no name can say. Only the bits this module reads are named. - Process
Figures - One process’s figures, before it is named.
- RawCounters
- What one read of the counters returned.
Noneis a counter set the machine doesn’t have, which is not the same as one with no instances (an adapter no process is using). - Reading
- A read, in figures.
Functions§
- aggregate
- The figures of one read.
infosare the adapters DXGI lists, which name them and give their memory; an adapter the counters know and DXGI doesn’t (one that went away) is shown by its id. - memory_
share - An adapter’s use of its memory, as a share the status bar can turn a warning on: dedicated for a card with its own memory, shared for one that uses the machine’s.
Type Aliases§
- Instances
- One counter’s instances: the name and the value.