Function to print the CPU usage of tasks over a given duration. This function will measure and print the CPU usage of tasks over a specified number of ticks (i.e. real time stats). This is implemented by simply calling uxTaskGetSystemState() twice separated by a delay, then calculating the differences of task run times before and after the delay.