IPixGpuCaptureDrPix::RunExperiments method

Run experiments on the GPU capture.

Syntax

HRESULT RunExperiments(
    UINT64 experimentCount,
    const PIX_EXPERIMENT_RUN_PARAMS * experiments,
    IPixGpuCaptureExperimentCallback * callback,
    IPixProgressNotifications * notifications,
    IPixCancellationToken * cancellationToken,
    IPixAsyncOperation ** asyncOperation);

Parameters

experimentCount [in]

The number of experiments to run

experiments [in]

The pointer to the experiment run parameters

callback [in]

The optional callback to receive experiment results. Expected: IPixGpuCaptureExperimentCallback.

notifications [in]

The optional pointer to the notification object

cancellationToken [in]

The optional pointer to a cancellation token

asyncOperation [out]

The pointer to run the operation asynchronously

Returns

S_OK on success, otherwise an error code.

See also