Kernel launch overhead microbenchmarks: Break out measurement as separate function