Refactoring the generation of the histogram of inter task execution intervals.