public void startTiming ( String label ) { if ( mPerfWriter != null ) mPerfWriter . writeStartTiming ( label ) ; mPerfMeasurement = new Bundle ( ) ; mPerfMeasurement . putParcelableArrayList ( METRIC_KEY_ITERATIONS , new ArrayList < Parcelable > ( ) ) ; mExecTime = SystemClock . uptimeMillis ( ) ; mCpuTime = Process . getElapsedCpuTime ( ) ; }
Start measurement of user and cpu time .