kernelEndTime
The host time, in seconds, when the CPU finishes scheduling the command buffer.
Declaration
var kernelEndTime: CFTimeInterval { get }Discussion
You can calculate how much time the kernel spends scheduling a command buffer by subtracting kernelStartTime from this value.
The kernel start and end times remain 0.0 until the GPU driver (on the CPU) schedules the command buffer to run on the GPU. Apps typically use these values after the waitUntilScheduled() method returns, or within a completion handler (see addScheduledHandler(_:) and addCompletedHandler(_:)).