Add time measure for kernel operations.