summaryrefslogtreecommitdiffstats
path: root/ui/events/latency_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/events/latency_info.h')
-rw-r--r--ui/events/latency_info.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/events/latency_info.h b/ui/events/latency_info.h
index d1e6f75..fb58176 100644
--- a/ui/events/latency_info.h
+++ b/ui/events/latency_info.h
@@ -52,6 +52,9 @@ enum LatencyComponentType {
// Timestamp when the frame is swapped (i.e. when the rendering caused by
// input event actually takes effect).
INPUT_EVENT_LATENCY_TERMINATED_FRAME_SWAP_COMPONENT,
+ // Frame number when a window snapshot was requested. The snapshot
+ // is taken when the rendering results actually reach the screen.
+ WINDOW_SNAPSHOT_FRAME_NUMBER_COMPONENT
};
struct EVENTS_EXPORT LatencyInfo {