xaiefal
Loading...
Searching...
No Matches
xaiefal::XAieRscGroupAvail Class Reference

class to runtime resources functional group Each element in the group is a resource. More...

#include <xaiefal-rsc-group-impl.hpp>

Inheritance diagram for xaiefal::XAieRscGroupAvail:
xaiefal::XAieRscGroupBase

Public Member Functions

 XAieRscGroupAvail (std::shared_ptr< XAieDevHandle > DevHd, const std::string &Name="Avail")
 XAieRscGroupAvail ()
AieRC addRsc (std::shared_ptr< XAieRsc > Rsc)
Public Member Functions inherited from xaiefal::XAieRscGroupBase
 XAieRscGroupBase (std::shared_ptr< XAieDevHandle > DevHd, const std::string &Name="")
 XAieRscGroupBase ()
 ~XAieRscGroupBase ()
XAieRscStat getRscStat () const
XAieRscStat getRscStat (XAie_LocType Loc) const
XAieRscStat getRscStat (XAie_LocType Loc, XAieRscType RscType) const
XAieRscStat getRscStat (XAie_LocType Loc, XAie_ModuleType Mod) const
XAieRscStat getRscStat (XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType RscType) const
XAieRscStat getRscStat (XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType RscType, uint32_t RscId) const
XAieRscStat getRscStat (const std::vector< XAie_LocType > &vLocs, XAieRscType RscType) const
XAieRscStat getRscStat (const std::vector< XAie_LocType > &vLocs, XAieRscType RscType, uint32_t RscId) const

Additional Inherited Members

Protected Member Functions inherited from xaiefal::XAieRscGroupBase
XAieRscStat _getRscStatTile (XAie_LocType Loc, XAie_ModuleType Mod, XAieRscType RscType, uint32_t RscId) const
Static Protected Member Functions inherited from xaiefal::XAieRscGroupBase
static std::vector< XAie_LocType > _getAllTilesLocs (XAie_DevInst *DevInst)
static std::vector< XAieUserRscStat > _createDrvRscStats (XAie_DevInst *DevInst, const std::vector< XAie_LocType > &vLocs, XAie_ModuleType Mod, XAieRscType RscType)
Protected Attributes inherited from xaiefal::XAieRscGroupBase
std::string FuncName
std::weak_ptr< XAieDevHandle > AieHd

Detailed Description

class to runtime resources functional group Each element in the group is a resource.

Constructor & Destructor Documentation

◆ XAieRscGroupAvail() [1/2]

xaiefal::XAieRscGroupAvail::XAieRscGroupAvail ( std::shared_ptr< XAieDevHandle > DevHd,
const std::string & Name = "Avail" )
inline

◆ XAieRscGroupAvail() [2/2]

xaiefal::XAieRscGroupAvail::XAieRscGroupAvail ( )
inline

Member Function Documentation

◆ addRsc()

AieRC xaiefal::XAieRscGroupAvail::addRsc ( std::shared_ptr< XAieRsc > Rsc)
inlinevirtual

This function adds a resource to the resource group.

Parameters
AIengine resource shared pointer
Returns
XAIE_OK for success, error code for failure.

Only the resources availability should should be managed by AIEFAL should be added to this group. Only trace controller should be added to this groups, for other resources, it will go to the lower level driver to get the resource availability.

Reimplemented from xaiefal::XAieRscGroupBase.


The documentation for this class was generated from the following file: