Added function to show stats about cpu workload between two states