KernelMonitor.start
Function |
def start(self, cb: Callable[[KernelData], None]) -> MsptiResult: |
|---|---|
Function Description |
Marks the start of the kernel profiling. |
Input |
cb: Callback function, used to transfer the profiled kernel data. The KernelData struct is called. |
Return Value |
MsptiResult.MSPTI_SUCCESS indicates a successful operation, while MsptiResult.MSPTI_ERROR_INVALID_PARAMETER indicates a failure caused by an incorrect callback function type. |
Parent topic: KernelMonitor