public synchronized void resetStatistics ( ) { mPeakQueueSize = 0 ; mPeakThreadCount = 0 ; mPeakServicingCount = 0 ; mTotalEnqueueAttempts = 0 ; mTotalEnqueued = 0 ; mTotalServiced = 0 ; mTotalExpired = 0 ; mTotalServiceExceptions = 0 ; mTotalUncaughtExceptions = 0 ; mTotalQueueDuration = 0 ; mTotalServiceDuration = 0 ; mTimeLapseStart = System . currentTimeMillis ( ) ; }
Resets all time lapse statistics .