This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.booking.debug.performance | |
import android.os.SystemClock | |
import android.util.Log | |
/** | |
* Simple class to check the execution time between several execution points across threads. | |
* Unlike [TraceCompat](https://developer.android.com/reference/androidx/core/os/TraceCompat) | |
* it is not expected to 'begin' and 'end' sections but it will just print the time between | |
* the points being tracked. |