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
Description:
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 get_pixmap_property_llv() to retrieve SCREEN_PROPERTY_METRICS.