#include <LevelZeroSignal.hpp>
|
virtual | ~LevelZeroSignal ()=default |
|
| LevelZeroSignal (std::function< double(unsigned int)> devpool_func, unsigned int gpu, double scalar) |
|
| LevelZeroSignal (const LevelZeroSignal &other)=delete |
|
LevelZeroSignal & | operator= (const LevelZeroSignal &other)=delete |
|
void | setup_batch (void) override |
| Prepare the signal for being updated through side effects by the owner's read_batch step. This method should not fail if called multiple times, and ideally only apply the side effects on the first call. More...
|
|
double | sample (void) override |
| Apply any conversions necessary to interpret the latest stored value as a double. More...
|
|
double | read (void) const override |
| Read directly the value of the signal without affecting any pushed batch signals. More...
|
|
void | set_sample (double value) override |
| Set the value to be returned by sample() More...
|
|
bool | is_sampled (void) const override |
| True if the signal has been sampled during this batch. More...
|
|
virtual | ~Signal ()=default |
|
◆ ~LevelZeroSignal()
virtual geopm::LevelZeroSignal::~LevelZeroSignal |
( |
| ) |
|
|
virtualdefault |
◆ LevelZeroSignal() [1/2]
geopm::LevelZeroSignal::LevelZeroSignal |
( |
std::function< double(unsigned int)> |
devpool_func, |
|
|
unsigned int |
gpu, |
|
|
double |
scalar |
|
) |
| |
◆ LevelZeroSignal() [2/2]
◆ is_sampled()
bool geopm::LevelZeroSignal::is_sampled |
( |
void |
| ) |
const |
|
overridevirtual |
True if the signal has been sampled during this batch.
Reimplemented from geopm::Signal.
◆ operator=()
◆ read()
double geopm::LevelZeroSignal::read |
( |
void |
| ) |
const |
|
overridevirtual |
Read directly the value of the signal without affecting any pushed batch signals.
Implements geopm::Signal.
◆ sample()
double geopm::LevelZeroSignal::sample |
( |
void |
| ) |
|
|
overridevirtual |
Apply any conversions necessary to interpret the latest stored value as a double.
Implements geopm::Signal.
◆ set_sample()
void geopm::LevelZeroSignal::set_sample |
( |
double |
| ) |
|
|
overridevirtual |
◆ setup_batch()
void geopm::LevelZeroSignal::setup_batch |
( |
void |
| ) |
|
|
overridevirtual |
Prepare the signal for being updated through side effects by the owner's read_batch step. This method should not fail if called multiple times, and ideally only apply the side effects on the first call.
Implements geopm::Signal.
The documentation for this class was generated from the following files: