|
pelib
2.0.0
|
#include <DummyCore.hpp>
Public Member Functions | |
| DummyCore (const std::set< float > &f, float unit) | |
| DummyCore (size_t id, const std::set< float > &f, float unit) | |
| DummyCore (const DummyCore *) | |
| DummyCore (const DummyCore &) | |
| virtual | ~DummyCore () |
| virtual Core * | clone () const |
| virtual const std::set< float > & | getFrequencies () const |
| virtual float | getFrequencyUnit () const |
Protected Attributes | |
| std::set< float > | frequencies |
Simple core model
Definition at line 29 of file DummyCore.hpp.
| pelib::DummyCore::DummyCore | ( | const std::set< float > & | f, |
| float | unit | ||
| ) |
Constructor
| f | Set of frequency that this core can run at |
| pelib::DummyCore::DummyCore | ( | size_t | id, |
| const std::set< float > & | f, | ||
| float | unit | ||
| ) |
| pelib::DummyCore::DummyCore | ( | const DummyCore * | src | ) |
Copy constructor
Definition at line 38 of file DummyCore.cpp.
| pelib::DummyCore::DummyCore | ( | const DummyCore & | src | ) |
Copy constructor
Definition at line 44 of file DummyCore.cpp.
| pelib::DummyCore::~DummyCore | ( | ) | [virtual] |
Destructor
Definition at line 50 of file DummyCore.cpp.
| Core * pelib::DummyCore::clone | ( | ) | const [virtual] |
Returns a pointer to a copy of this class instance
Implements pelib::Core.
Definition at line 56 of file DummyCore.cpp.
| const set< float > & pelib::DummyCore::getFrequencies | ( | ) | const [virtual] |
Returns the set of frequencies this core can run at
Implements pelib::Core.
Definition at line 62 of file DummyCore.cpp.
| float pelib::DummyCore::getFrequencyUnit | ( | ) | const [virtual] |
Returns the frequency multiplier of the frequency set to obtain frequencies in Hertz
Implements pelib::Core.
Definition at line 68 of file DummyCore.cpp.
std::set<float> pelib::DummyCore::frequencies [protected] |
Admissible set of frequencies for this core
Definition at line 51 of file DummyCore.hpp.