struct of resource usage statistics
More...
#include <xaiefal-rsc-group.hpp>
|
| std::string | GroupName |
| std::map< std::tuple< uint8_t, uint8_t, uint32_t, uint32_t >, uint32_t > | Rscs |
struct of resource usage statistics
◆ XAieRscStat()
| xaiefal::XAieRscStat::XAieRscStat |
( |
const std::string & | Name = "" | ) |
|
|
inline |
◆ addRscStat()
This function adds resource information to the resources structure.
- Parameters
-
| Loc | tile location |
| Mod | module type |
| RscType | resource type |
| NumRscs | number of resources of the resource type |
◆ getNumRsc()
This function returns number of resource of a type of resources of a module of a tile in this resource stat structure.
- Parameters
-
| Loc | tile location |
| Mod | module type |
| RscType | resource type |
- Returns
- number of resources of the type of resources of a module of a tile.
◆ hasRsc()
| bool xaiefal::XAieRscStat::hasRsc |
( |
| ) |
const |
|
inline |
This function checkes if the resources stat map has resources
- Returns
- true if the resources stat map is not empty, otherwise false.
◆ show()
| void xaiefal::XAieRscStat::show |
( |
| ) |
const |
|
inline |
This function shows the resources information of this resource group
◆ GroupName
| std::string xaiefal::XAieRscStat::GroupName |
name of the group of resources
◆ Rscs
| std::map<std::tuple<uint8_t, uint8_t, uint32_t, uint32_t>, uint32_t> xaiefal::XAieRscStat::Rscs |
number of resources info: key: col, row, mod type, rsc type> value: numer of resources
The documentation for this struct was generated from the following file: