|
| | StorageN11 (StorageModel *model, std::string name, lmm_system_t maxminSystem, double bread, double bwrite, std::string type_id, std::string content_name, sg_size_t size, std::string attach) |
| |
| virtual | ~StorageN11 ()=default |
| |
| StorageAction * | read (sg_size_t size) |
| | Read a file. More...
|
| |
| StorageAction * | write (sg_size_t size) |
| | Write a file. More...
|
| |
| | StorageImpl (Model *model, std::string name, lmm_system_t maxminSystem, double bread, double bwrite, std::string type_id, std::string content_name, sg_size_t size, std::string attach) |
| | Storage constructor. More...
|
| |
| | ~StorageImpl () override |
| |
| bool | isUsed () override |
| | Check if the Storage is used (if an action currently uses its resources) More...
|
| |
| void | apply_event (tmgr_trace_event_t event, double value) override |
| | Apply an event of external load event to that resource. More...
|
| |
| void | turnOn () override |
| | Turn on the current Resource. More...
|
| |
| void | turnOff () override |
| | Turn off the current Resource. More...
|
| |
| virtual std::string | getHost () |
| |
| | Resource (Model *model, const std::string &name, lmm_constraint_t constraint) |
| | Constructor of LMM Resources. More...
|
| |
| virtual | ~Resource () |
| |
| Model * | model () const |
| | Get the Model of the current Resource. More...
|
| |
| const std::string & | getName () const |
| | Get the name of the current Resource. More...
|
| |
| const char * | getCname () const |
| | Get the name of the current Resource. More...
|
| |
| bool | operator== (const Resource &other) const |
| |
| virtual double | getLoad () |
| | returns the current load (in flops per second, byte per second or similar) More...
|
| |
| virtual bool | isOn () const |
| | Check if the current Resource is active. More...
|
| |
| virtual bool | isOff () const |
| | Check if the current Resource is shut down. More...
|
| |
| lmm_constraint_t | constraint () const |
| | Get the lmm constraint associated to this Resource if it is part of a LMM component (or null if none) More...
|
| |
| | PropertyHolder ()=default |
| |
| | ~PropertyHolder () |
| |
| const char * | getProperty (std::string key) |
| | Return the property associated to the provided key (or nullptr if not existing) More...
|
| |
| void | setProperty (std::string id, std::string value) |
| | Change the value of a given key in the property set. More...
|
| |
| std::map< std::string, std::string > * | getProperties () |
| | Return the whole set of properties. More...
|
| |