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

@@ -45,6 +45,7 @@ as rotated copies of the first 128 entries. -- AMR
#include "logo.h"
#include "user_io.h"
#include "hardware.h"
#include "profiling.h"
#include "support.h"
@@ -661,6 +662,7 @@ char* OsdCoreNameGet()
void OsdUpdate()
{
PROFILE_FUNCTION();
int n = is_menu() ? 19 : osd_size;
for (int i = 0; i < n; i++)
{