Thank you. I've solved the overflow problem.
I configured both options
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() /* nothing */ /* default: use Tick counter as runtime counter */
#define portGET_RUN_TIME_COUNTER_VALUE() xTaskGetTickCount() /* default: use Tick counter as runtime counter */
My new question is, how do I calculate the CPU usage statistics for every five minutes?