I have a version of FreeRTOS which comes with a TraceAlyzer tool and I need to compare how it affects the effectivity of the whole systems (for what time it slows it down). I have 2 simple tasks which run and delay for a short time. I run system twice with Tracealyzer started and without for some number of iterations.
I am aware of vTaskGetRunTimeStats(), but as far as I understand it only measures the run time of one task, not of the entire system. At the moment I am using the PowerShell tool Measure-Command
, but I would like to use a built-in tool in FreeRTOS.
How do I measure the execution time for the entire system (all tasks, not just one) in FreeRTOS?