summaryrefslogtreecommitdiff
path: root/tests/frame-stats.h
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2013-04-21 18:31:36 -0400
committerOwen W. Taylor <otaylor@fishsoup.net>2013-04-23 14:04:40 -0400
commitb7063509f8cac919490d4f907ece5ec8d7e3f127 (patch)
tree2542a77334e18e120458e5474402663a665aa3a8 /tests/frame-stats.h
parent0032b2dc5ad4c5faffb58565a3e4589335005c9e (diff)
downloadgtk+-b7063509f8cac919490d4f907ece5ec8d7e3f127.tar.gz
tests/animated-resizing: Split frame statistics out into a separate file
Split the code for computing frame rate and latency into a separate file so we can use it from multiple tests.
Diffstat (limited to 'tests/frame-stats.h')
-rw-r--r--tests/frame-stats.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/frame-stats.h b/tests/frame-stats.h
new file mode 100644
index 0000000000..9c046a7f97
--- /dev/null
+++ b/tests/frame-stats.h
@@ -0,0 +1,9 @@
+#ifndef __FRAME_STATS_H__
+#define __FRAME_STATS_H__
+
+#include <gtk/gtk.h>
+
+void frame_stats_add_options (GOptionGroup *group);
+void frame_stats_ensure (GtkWindow *window);
+
+#endif /* __FRAME_STATS_H__ */