Screen pixmap metric count types
Types of metric counts for pixmaps
Synopsis:
#include <screen/screen.h>
enum {
SCREEN_PIXMAP_METRIC_BLIT_COUNT = 0,
SCREEN_PIXMAP_METRIC_BLIT_PIXELS = 1,
SCREEN_PIXMAP_METRIC_BLIT_READS = 2,
SCREEN_PIXMAP_METRIC_BLIT_WRITES = 3
};Data:
- SCREEN_PIXMAP_METRIC_BLIT_COUNT
- The number of blit requests (when the pixmap was a target of a blit) since the last time Screen pixmap metrics were queried.
- SCREEN_PIXMAP_METRIC_BLIT_PIXELS
- The number of pixels affected by the blit requests (when the pixmap was a target of a blit) since the last time Screen pixmap metrics have been queried.
- SCREEN_PIXMAP_METRIC_BLIT_READS
- An estimate of the number of bytes that have been read from the pixmap since the last time Screen pixmap metrics were queried.
- SCREEN_PIXMAP_METRIC_BLIT_WRITES
- An estimate of the number of bytes that have been written to the pixmap since the last time Screen pixmap metrics were queried.
Library:
libscreenDescription:
The metrics are on a per pixmap basis and the counts are reset after being queried. That is, the counts are reset to 0 after you call screen_get_pixmap_property_llv() to retrieve SCREEN_PROPERTY_METRICS.
Page updated:
