MTLCounterSamplingPoint.atStageBoundary
Counter sampling is allowed at the start and end of a render pass’s vertex and fragment stages, and at the start and end of compute and blit passes.
Declaration
case atStageBoundaryCounter sampling is allowed at the start and end of a render pass’s vertex and fragment stages, and at the start and end of compute and blit passes.
case atStageBoundary