Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private static final int[] DURATIONS = new int[] {
// UNKNOWN_DELAY
Index.INTENDED_VSYNC, Index.HANDLE_INPUT_START,
// INPUT_HANDLING
Index.HANDLE_INPUT_START, Index.ANIMATION_START,
// ANIMATION
Index.ANIMATION_START, Index.PERFORM_TRAVERSALS_START,
// LAYOUT_MEASURE
Index.PERFORM_TRAVERSALS_START, Index.DRAW_START,
// DRAW
Index.DRAW_START, Index.SYNC_QUEUED,
// SYNC
Index.SYNC_START, Index.ISSUE_DRAW_COMMANDS_START,
// COMMAND_ISSUE
Index.ISSUE_DRAW_COMMANDS_START, Index.SWAP_BUFFERS,
// SWAP_BUFFERS
Index.SWAP_BUFFERS, Index.FRAME_COMPLETED,
// TOTAL_DURATION
Index.INTENDED_VSYNC, Index.FRAME_COMPLETED,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.