Kanzi 4.0.0-beta2
kanzi::gfx::Statistics Class Referenceabstract

Interface to access Kanzi graphics statistics, such as object and command counts. More...

#include <kanzi/gfx/statistics.hpp>

Classes

struct  CommandStats
 Command-related statistics since last report. More...
 
struct  ObjectStats
 Defines the statistics exposed for an object type. More...
 
struct  Results
 Contains a full Statistics report. More...
 

Public Member Functions

virtual Results getResults ()=0
 Gets a statistics report from an active statistics layer.
 
virtual void setCommandTagFilter (uint8_t mask, uint8_t value)=0
 Sets the command tag filter that will be included in the statistics report.
 

Detailed Description

Interface to access Kanzi graphics statistics, such as object and command counts.

Since
Kanzi 4.0.0

Member Function Documentation

◆ getResults()

virtual Results kanzi::gfx::Statistics::getResults ( )
pure virtual

Gets a statistics report from an active statistics layer.

Each report is relative to the previous call of getResults.

Returns
The current statistics.

◆ setCommandTagFilter()

virtual void kanzi::gfx::Statistics::setCommandTagFilter ( uint8_t mask,
uint8_t value )
pure virtual

Sets the command tag filter that will be included in the statistics report.

The masked command tag must be equal to the provided tag value.

Parameters
maskThe mask used to limit the filter to certain bits.
valueThe value that the masked tag must be equal to for the command to be included in the statistics.

The documentation for this class was generated from the following file: