FreeRTOS Emulator with SDL2 Based Graphics and Input Library  1.0
A POSIX wrapper to run FreeRTOS on an x86 machine with some basic input and output libraries aimed at making teaching FreeRTOS simpler.
gfx_FreeRTOS_utils.c File Reference

Small verbose utilities for showing FreeRTOS functionality. More...

#include <string.h>
#include <stdio.h>
#include "FreeRTOS.h"
#include "task.h"

Macros

#define STATE_LIST_HEADER   ("NAME STATE PRIORITY STACK NUM\n")
 
#define UTIL_LIST_HEADER   ("NAME RUN TIME \%\n")
 

Functions

void gfxFUtilPrintTaskStateList (void)
 Prints a list of the current tasks executing on the system and their states. More...
 
void gfxFUtilPrintTaskUtils (void)
 Prints a list of the current tasks executing on the system and their utilizations. More...
 

Detailed Description

Small verbose utilities for showing FreeRTOS functionality.

Author
Alex Hoffman
Date
24 August 2020
----------------------------------------------------------------------
Copyright (C) Alexander Hoffman, 2020
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
----------------------------------------------------------------------

Macro Definition Documentation

◆ STATE_LIST_HEADER

#define STATE_LIST_HEADER   ("NAME STATE PRIORITY STACK NUM\n")

◆ UTIL_LIST_HEADER

#define UTIL_LIST_HEADER   ("NAME RUN TIME \%\n")