|
GTPin
|
< Handle to the tool registered with the GTPin core More...
#include <igt_core.h>
Inherits gtpin::IMemAllocator.
Public Member Functions | |
| virtual GtToolHandle | RegisterTool (IGtTool &tool)=0 |
| Register the specified tool with the GTPin core. | |
| virtual bool | UnregisterTool (GtToolHandle toolHandle)=0 |
| Remove the specified tool from the tool's registry of this GTPin core. | |
| virtual const char * | Version () const =0 |
| Return the GTPin kit version. | |
| virtual const char * | Revision () const =0 |
| Return the GTPin kit revision. | |
| virtual uint32_t | ApiVersion () const =0 |
| Return the API version supported by this GTPin kit (see GTPIN_API_VERSION) | |
| virtual GtCoreString | ProfileDir () const =0 |
| Return the default directory dedicated to profile data files. | |
| virtual bool | CreateProfileDir () const =0 |
| Create the default directory dedicated to profile data files. | |
| virtual const IGtGenArch & | GenArch () const =0 |
| Return Object that provides access to generic and model-specific properties of the GEN architecture. | |
| virtual IGtKnobRegistry & | Knobs ()=0 |
| Return Container of GTPin configuration arguments (KNOBs) | |
| virtual void | RegisterEventHandler (IGtEventHandler &eventHandler)=0 |
| Register the specified event handler with the GTPin core. | |
| virtual const IGtEvent & | LastError () const =0 |
| Get last error event reported by GTPin in the current thread. | |
| virtual IGtHliLibrary & | HliLibrary () const =0 |
| Return Collection of the High-Level Instrumentation (HLI) modules. | |
< Handle to the tool registered with the GTPin core
Singleton that provides GTPin core interface: tool registration and other core services
| virtual bool gtpin::IGtCore::CreateProfileDir | ( | ) | const [pure virtual] |
Create the default directory dedicated to profile data files.
| virtual const IGtEvent& gtpin::IGtCore::LastError | ( | ) | const [pure virtual] |
Get last error event reported by GTPin in the current thread.
| virtual void gtpin::IGtCore::RegisterEventHandler | ( | IGtEventHandler & | eventHandler | ) | [pure virtual] |
Register the specified event handler with the GTPin core.
GTPin supports multiple event handlers that can be registered by a single tool or multiple tools. The order in which events will be dispatched to handlers is not guaranteed
| virtual GtToolHandle gtpin::IGtCore::RegisterTool | ( | IGtTool & | tool | ) | [pure virtual] |
Register the specified tool with the GTPin core.
The GTPin core checks the tool API version, and declines tools whose version is not supported.
| [in] | tool | Object that implements IGtTool interface (callbacks) |
| virtual bool gtpin::IGtCore::UnregisterTool | ( | GtToolHandle | toolHandle | ) | [pure virtual] |
Remove the specified tool from the tool's registry of this GTPin core.
| [in] | toolHandle | Handle to the tool rergistered with this GTPin core |
Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT
1.7.4