55a56,58
>
> class System;
>
143c146
< Stats::Scalar bytesRead;
---
> Stats::Vector bytesRead;
145c148
< Stats::Scalar bytesInstRead;
---
> Stats::Vector bytesInstRead;
147c150
< Stats::Scalar bytesWritten;
---
> Stats::Vector bytesWritten;
149c152
< Stats::Scalar numReads;
---
> Stats::Vector numReads;
151c154
< Stats::Scalar numWrites;
---
> Stats::Vector numWrites;
153c156
< Stats::Scalar numOther;
---
> Stats::Vector numOther;
162a166,172
> /** Pointor to the System object.
> * This is used for getting the number of masters in the system which is
> * needed when registering stats
> */
> System *_system;
>
>
177a188,200
> /** read the system pointer
> * Implemented for completeness with the setter
> * @return pointer to the system object */
> System* system() const { return _system; }
>
> /** Set the system pointer on this memory
> * This can't be done via a python parameter because the system needs
> * pointers to all the memories and the reverse would create a cycle in the
> * object graph. An init() this is set.
> * @param sys system pointer to set
> */
> void system(System *sys) { _system = sys; }
>