|
GTPin
|
Abstract class that defines interface of the GTPin tool; i.e. set of callbacks invoked by the GTPin core. More...
#include <igt_tool.h>
Public Member Functions | |
| virtual const char * | Name () const =0 |
| Return Name of the tool. | |
| virtual uint32_t | ApiVersion () const =0 |
| Return The GTPin API version supported by this tool. | |
| virtual void | OnKernelBuild (IGtKernelInstrument &instrumentor)=0 |
| A callback invoked by GTPin for each kernel being compiled. | |
| virtual void | OnKernelRun (IGtKernelDispatch &dispatcher)=0 |
| A callback invoked by GTPin for each kernel instance before dispatching it for execution. | |
| virtual void | OnKernelComplete (IGtKernelDispatch &dispatcher)=0 |
| A callback invoked by GTPin for each kernel instance that finished execution. | |
Abstract class that defines interface of the GTPin tool; i.e. set of callbacks invoked by the GTPin core.
| virtual void gtpin::IGtTool::OnKernelBuild | ( | IGtKernelInstrument & | instrumentor | ) | [pure virtual] |
A callback invoked by GTPin for each kernel being compiled.
The tool can use this callback to instrument the original code of the kernel.
| [in] | instrumentor | Object that implements kernel instrumentation interface |
| virtual void gtpin::IGtTool::OnKernelComplete | ( | IGtKernelDispatch & | dispatcher | ) | [pure virtual] |
A callback invoked by GTPin for each kernel instance that finished execution.
The tool can use this callback to store and/or analyze profile data generated by the instrumented kernel.
| [in] | dispatcher | Object that implements kernel dispatching interface |
| virtual void gtpin::IGtTool::OnKernelRun | ( | IGtKernelDispatch & | dispatcher | ) | [pure virtual] |
A callback invoked by GTPin for each kernel instance before dispatching it for execution.
The tool can use this callback to enable or disable profiling of specific kernel instances.
| [in] | dispatcher | Object that implements kernel dispatching interface |
Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT
1.7.4