Make the performance reporting update frequency customizable

The default update frequency has been changed from 1000ms to 250ms.
This commit is contained in:
Hugo Locurcio
2018-05-17 02:02:35 +02:00
parent 942e0c4832
commit 228ae60a63
6 changed files with 21 additions and 8 deletions

View File

@ -44,7 +44,7 @@ class Main {
static void print_help(const char *p_binary);
static uint64_t last_ticks;
static uint64_t target_ticks;
static uint32_t frames;
static Array frame_times;
static uint32_t frame;
static bool force_redraw_requested;