Monado OpenXR Runtime
u_frame_times_widget.h File Reference

Shared code for visualizing frametimes. More...

#include "xrt/xrt_defines.h"
#include "os/os_time.h"
#include "util/u_var.h"
#include "util/u_logging.h"
#include "util/u_misc.h"
#include <assert.h>
Include dependency graph for u_frame_times_widget.h:

Go to the source code of this file.

Data Structures

struct  u_frame_times_widget
 

Macros

#define FPS_WIDGET_NUM_FRAME_TIMES   50
 

Functions

static void u_frame_times_widget_push_sample (struct u_frame_times_widget *widget, uint64_t new_frame_time)
 
static void u_frame_times_widget_init (struct u_frame_times_widget *widget, float target_frame_time_ms, float range)
 
static void u_frame_times_widget_teardown (struct u_frame_times_widget *widget)
 

Detailed Description

Shared code for visualizing frametimes.

Author
Moses Turner moses.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m