in reply to Re^4: CPU utilization
in thread CPU utilization

I just noticed you say "start:" there. You do realize you should call CPU_start only once, before reading from the logfile? Inside the loop reading logfile records, you should only be calling CPU_max(.2).