#include <EndpointUser.hpp>
◆ EndpointUserImp() [1/4]
geopm::EndpointUserImp::EndpointUserImp |
( |
| ) |
|
|
delete |
◆ EndpointUserImp() [2/4]
◆ EndpointUserImp() [3/4]
geopm::EndpointUserImp::EndpointUserImp |
( |
const std::string & |
data_path, |
|
|
const std::set< std::string > & |
hosts |
|
) |
| |
◆ EndpointUserImp() [4/4]
geopm::EndpointUserImp::EndpointUserImp |
( |
const std::string & |
data_path, |
|
|
std::unique_ptr< SharedMemory > |
policy_shmem, |
|
|
std::unique_ptr< SharedMemory > |
sample_shmem, |
|
|
const std::string & |
agent_name, |
|
|
int |
num_sample, |
|
|
const std::string & |
profile_name, |
|
|
const std::string & |
hostlist_path, |
|
|
const std::set< std::string > & |
hosts |
|
) |
| |
◆ ~EndpointUserImp()
geopm::EndpointUserImp::~EndpointUserImp |
( |
| ) |
|
|
virtual |
◆ operator=()
◆ read_policy()
double geopm::EndpointUserImp::read_policy |
( |
std::vector< double > & |
policy | ) |
|
|
overridevirtual |
Read the latest policy values. All NAN indicates that a policy has not been written yet.
- Parameters
-
[out] | policy | The policy values read. The order is specified by the Agent. |
- Returns
- The age of the policy in seconds.
Implements geopm::EndpointUser.
◆ write_sample()
void geopm::EndpointUserImp::write_sample |
( |
const std::vector< double > & |
sample | ) |
|
|
overridevirtual |
Write sample values and update the sample age.
- Parameters
-
[in] | sample | The values to write. The order is specified by the Agent. |
Implements geopm::EndpointUser.
The documentation for this class was generated from the following files: