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

@@ -63,6 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "support.h"
#include "bootcore.h"
#include "ide.h"
#include "profiling.h"
/*menu states*/
enum MENU
@@ -899,6 +900,8 @@ static int page = 0;
void HandleUI(void)
{
PROFILE_FUNCTION();
if (bt_timer >= 0)
{
if (!bt_timer) bt_timer = (int32_t)GetTimer(6000);