value check to avoid zero division error.
use 10microsend duration for CPUPercent test.