Moves one-time kernel setup outside timed range

Timing only for buffer reading and writing, and kernel execution.