|
xaiefal
|
Resource Manager Backend Generic Class. More...
#include <xaiefal-rscmgr-generic.hpp>
Public Member Functions | |
| XAieRscMgrGeneric ()=delete | |
| XAieRscMgrGeneric (XAieDevHandle *DevHd) | |
| ~XAieRscMgrGeneric () | |
| AieRC | request (XAieUserRsc &RscReq) |
| AieRC | requestAllocated (XAieUserRsc &RscReq) |
| AieRC | requestContiguous (std::vector< XAieUserRsc > &RscReq) |
| AieRC | requestBc (std::vector< XAieUserRsc > &RscReq, bool isBcAll) |
| AieRC | release (XAieUserRsc &RscRel) |
| AieRC | free (XAieUserRsc &RscFree) |
| AieRC | getRscStats (std::vector< XAieUserRscStat > &vStats, XAieRscBitmapType BType) |
| AieRC | writeRscBitmaps (std::ofstream &Fs, uint64_t &NumRscs) |
| AieRC | loadRscBitmaps (const char *MetaData, uint64_t NumBitmaps) |
| Public Member Functions inherited from xaiefal::XAieRscMgrBackend | |
| XAieRscMgrBackend ()=delete | |
| XAieRscMgrBackend (XAieDevHandle *DevHd) | |
| AieRC | request (std::vector< XAieUserRsc > &RscReq) |
| AieRC | requestAllocated (std::vector< XAieUserRsc > &RscReq) |
| AieRC | release (std::vector< XAieUserRsc > &RscRel) |
| AieRC | free (std::vector< XAieUserRsc > &RscFree) |
| XAie_DevInst * | dev () |
Additional Inherited Members | |
| Protected Attributes inherited from xaiefal::XAieRscMgrBackend | |
| XAieDevHandle * | AieHd |
Resource Manager Backend Generic Class.
|
delete |
|
inline |
|
inline |
|
inlinevirtual |
This function frees a resource from just the runtime bitmap.
| reference | to resource |
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function requests resource statistics for static or available resources
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function reads the resources metadata and loads it into the static resource bitmaps.
| MetaData | metadata to load static resource bitmaps |
| NumBitmaps | number of resource bitmaps in the metadata |
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function releases the resource from runtime and static bitmaps.
| reference | to resource |
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function checks for resource availibility and will reserve the resources if available
| reference | to a resource |
Check Static and runtime bitmaps find resource available in both
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function checks for resource availibility of a specific resource and will reserve the resources if available.
| reference | to a specific resource |
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function checks for resource availibility of a broadcast resource and will reserve the resources if available.
| reference | to list of resource |
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function checks for resource availibility and will reserve the amount of resources needed contiguously
| reference | to list of resource |
Reimplemented from xaiefal::XAieRscMgrBackend.
|
inlinevirtual |
This function writes the runtime resource bitmaps to the given ofstream object. NumRscs is updated with number bitmaps written.
| Fs | ofstream to write bitmaps too |
| NumRscs | is updated with number of bitmaps written |
Reimplemented from xaiefal::XAieRscMgrBackend.