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 has been read from the pixmap since the last time Screen pixmap metrics were queried.
The number of bytes read is an estimation calculated based on the number of pixels affected by the blit requests.
- SCREEN_PIXMAP_METRIC_BLIT_WRITES
- An estimate of the number of bytes that has been written to the pixmap since the last time Screen pixmap metrics were queried.
The number of bytes written is an estimation calculated based on the number of pixels affected by the blit requests.
Library:
libscreen