|
xaiefal
|
class of AI engine event tracing. An XAieTracing object contains AI engine trace control and events to trace. More...
#include <xaiefal-trace.hpp>
Public Member Functions | |
| XAieTracing ()=delete | |
| XAieTracing (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAie_ModuleType Mod, std::shared_ptr< XAieTraceCntr > TCntr) | |
| XAieTracing (XAieDev &Dev, XAie_LocType Loc, XAie_ModuleType Mod) | |
| ~XAieTracing () | |
| AieRC | addEvent (XAie_ModuleType Module, XAie_Events TraceEvent) |
| AieRC | removeEvent (XAie_ModuleType Module, XAie_Events TraceEvent) |
| AieRC | setCntrEvent (XAie_Events StartE, XAie_Events StopE) |
| AieRC | setMode (XAie_TraceMode TraceMode) |
| AieRC | setPkt (const XAie_Packet &Packet) |
| uint32_t | getTraceControlAvailTraceSlots () const |
| uint32_t | getMaxTraceEvents () const |
| Public Member Functions inherited from xaiefal::XAieSingleTileRsc | |
| XAieSingleTileRsc ()=delete | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAie_ModuleType Mod) | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType Type) | |
| XAieSingleTileRsc (XAieDev &Dev, XAie_LocType Loc, XAie_ModuleType Mod) | |
| XAieSingleTileRsc (XAieDev &Dev, XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType Type) | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc) | |
| XAieSingleTileRsc (std::shared_ptr< XAieDevHandle > DevHd, XAie_LocType Loc, XAieRscType Type) | |
| XAieSingleTileRsc (XAieDev &Dev, XAie_LocType Loc, XAieRscType Type) | |
| virtual | ~XAieSingleTileRsc () |
| XAie_LocType | loc () const |
| XAie_ModuleType | mod () const |
| AieRC | getRscId (XAie_LocType &OutLoc, XAie_ModuleType &OutMod, uint32_t &OutRscId) |
| virtual XAieRscStat | getRscStat (const std::string &GName) const |
| Public Member Functions inherited from xaiefal::XAieRsc | |
| XAieRsc ()=delete | |
| XAieRsc (std::shared_ptr< XAieDevHandle > DevHd) | |
| XAieRsc (std::shared_ptr< XAieDevHandle > DevHd, XAieRscType Type) | |
| XAieRsc (XAieDev &Dev) | |
| virtual | ~XAieRsc () |
| AieRC | setPreferredId (uint32_t id, bool isStaticAllocated=false) |
| uint32_t | getPreferredId () |
| AieRC | reserve () |
| AieRC | release () |
| AieRC | free () |
| AieRC | start () |
| AieRC | stop () |
| bool | isInitialized () const |
| bool | isReserved () const |
| bool | isConfigured () const |
| bool | isRunning () const |
| void | getReservedRscs (std::vector< XAieUserRsc > &vOutRscs) const |
| AieRC | getRscs (std::vector< XAieUserRsc > &vOutRscs) |
| AieRC | setRscs (std::vector< XAieUserRsc > &vInRscs) |
| virtual XAieRscType | getRscType () const |
| XAie_DevInst * | dev () |
| virtual uint32_t | getAvailManagedRscs () |
| virtual XAieRscType | getManagedRscsType () |
Protected Member Functions | |
| AieRC | _reserve () |
| AieRC | _release () |
| AieRC | _start () |
| AieRC | _stop () |
Protected Attributes | |
| std::shared_ptr< XAieTraceCntr > | TraceCntr |
| std::vector< XAieTraceEvent > | Events |
| Protected Attributes inherited from xaiefal::XAieSingleTileRsc | |
| XAie_LocType | Loc |
| XAie_ModuleType | Mod |
| Protected Attributes inherited from xaiefal::XAieRsc | |
| XAieRscState | State |
| XAieRscType | Type |
| std::shared_ptr< XAieDevHandle > | AieHd |
| uint32_t | preferredId |
| uint32_t | reservedId |
| std::vector< XAieUserRsc > | vRscs |
class of AI engine event tracing. An XAieTracing object contains AI engine trace control and events to trace.
|
delete |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
This function will be called by release(). It allows child class to implement its own resource release.
Reimplemented from xaiefal::XAieRsc.
|
inlineprotectedvirtual |
This function will be called by reserve(). It allows child class to implement its own resource reservation.
Reimplemented from xaiefal::XAieRsc.
|
inlineprotectedvirtual |
This function will be called by start(). It allows child class to implement its own resource start.
Reimplemented from xaiefal::XAieRsc.
|
inlineprotectedvirtual |
This function will be called by stop(). It allows child class to implement its own resource stop.
Reimplemented from xaiefal::XAieRsc.
|
inline |
This function adds an event to trace. This function will needs to be called before the trace control is configured in hardware. That is it needs to be called before start().
| Module | module of the event |
| TraceEvent | event to trace |
|
inline |
This functinon returns the max number of trace events supported by the trace control.
|
inline |
This functinon returns the number of available free trace slots on the trace control.
|
inline |
This function removes an event. It needs to be called before start().
| Module | module of the event |
| TraceEvent | event to remove |
|
inline |
This function sets start event of the trace control. No hardware configuration is changed. It will check if trace control is already configured. If yes, it will fail the setting. That is it needs to be called before start().
| StartE | start event to set |
| StopE | stop event to set |
|
inline |
This function sets trace control mode. This function needs to be called before trace control is configured in hardware. That is it needs to be called before start().
| TraceMode | trace control mode |
|
inline |
This function sets trace control packet config. This function needs to be called before trace control is configured in hardware. That is it needs to be called before start().
| Packet | trace control packet setting |
|
protected |
|
protected |