Screen display metric count types
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
Types of metric counts for displays
Synopsis:
#include <screen/screen.h>
enum {
SCREEN_DISPLAY_METRIC_ATTACH_COUNT = 0,
SCREEN_DISPLAY_METRIC_POWER_ON_COUNT = 1,
SCREEN_DISPLAY_METRIC_IDLE_COUNT = 2,
SCREEN_DISPLAY_METRIC_EVENT_COUNT = 3,
SCREEN_DISPLAY_METRIC_UPDATE_COUNT = 4,
SCREEN_DISPLAY_METRIC_UPDATE_PIXELS = 5,
SCREEN_DISPLAY_METRIC_UPDATE_READS = 6,
SCREEN_DISPLAY_METRIC_UPDATE_WRITES = 7
};
Data:
- SCREEN_DISPLAY_METRIC_ATTACH_COUNT
- The number of times the display has been attached (connected) since the last time Screen display metrics were queried.
- SCREEN_DISPLAY_METRIC_POWER_ON_COUNT
- The number of times the display has been powered on since the last time Screen display metrics were queried.
- SCREEN_DISPLAY_METRIC_IDLE_COUNT
- The number of times the display has been in idle state since the last time Screen display metrics were queried.
- SCREEN_DISPLAY_METRIC_EVENT_COUNT
- The number of input events that has been focused (or sent) to the display since the last time Screen display metrics were queried.
- SCREEN_DISPLAY_METRIC_UPDATE_COUNT
- The number of times that the framebuffer of the display has been updated since the last time Screen display metrics were queried.
- SCREEN_DISPLAY_METRIC_UPDATE_PIXELS
- The number of pixels that the framebuffer of the display has updated since the last time Screen display metrics were queried.
- SCREEN_DISPLAY_METRIC_UPDATE_READS
- The number of bytes that have been read from the framebuffer of the display since the last time Screen display metrics have been queried.
- SCREEN_DISPLAY_METRIC_UPDATE_WRITES
- The number of bytes that have been written to the framebuffer of the display since the last time Screen display metrics have been queried.
Library:
libscreenDescription:
The metrics are on a per display basis and the counts are reset after being queried. That is, the counts are reset to 0
after you call screen_get_display_property_llv() to retrieve SCREEN_PROPERTY_METRICS.
Page updated: