Spike profiler

This commit is contained in:
Martin Donlon
2022-07-14 11:53:51 -07:00
parent f5f7616f57
commit cebd306abd
9 changed files with 241 additions and 6 deletions

View File

@@ -27,6 +27,7 @@
#include "video.h"
#include "joymapping.h"
#include "support.h"
#include "profiling.h"
#define NUMDEV 30
#define NUMPLAYERS 6
@@ -5178,6 +5179,8 @@ int input_test(int getchar)
int input_poll(int getchar)
{
PROFILE_FUNCTION();
static int af[NUMPLAYERS] = {};
static uint32_t time[NUMPLAYERS] = {};
static uint32_t joy_prev[NUMPLAYERS] = {};