--
You received this message because you are subscribed to the Google Groups "BOSP Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bosp-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ok, it would be a good idea to have the upper class Resource.For the path string I think we have 2 possibilities: directly adding a method in the PlatformDescription class that works at element level giving a full path (for a pe: "sys0.cpu1.pe1"), as Reghe said, or giving only the string of the single element name+id ("pe1").I think that the first solution is better because directly the PlatformDescription object will return its own information without the need of cycling each element in an external method.
In any case will I introduce the new AddResources in the ResourceAccounter as agreed today?
I would also prefer option B, since if one disables a system, the SysX number still remain progressive.
Another question...In the RegisterAccounter::RegisterResource(...) there is the "units" parameter, from the single Resource of the PlatformDescription I cannot retrieve this information directly...Is it better to overload the RegisterResource method without this parameter or what else?
PS: Giuseppe enjoy your meal (considering that you cannot send me something to taste :( )On Tue, Aug 2, 2016 at 7:40 PM, Michele Zanella <zanella...@gmail.com> wrote:Hi!I noticed that in the PlatformDescription there are 2 methods that have the names different although one is the "const" version of the other:inline const std::vector<MemoryPtr_t> & GetMemories()inline std::vector<MemoryPtr_t> & GetMemoryAll().To keep the naming convention (cache: P) coherence I think it is better to change both names in GetMemoriesAll(). Can I perform the change?