prevent division by zero exception in CPU load calculation