Split the code for computing frame rate and latency into a separate file so we can use it from multiple tests.
		
			
				
	
	
		
			10 lines
		
	
	
		
			212 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			212 B
		
	
	
	
		
			C
		
	
	
	
	
	
#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__ */
 |