geopm 3.2.1.dev535+ga96c120fc
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
geopm::SysfsDriver::properties_s Struct Reference

The properties about a signal or control. More...

#include <SysfsDriver.hpp>

Public Attributes

std::string name
bool is_writable
std::string attribute
std::string description
double scaling_factor
int units
std::function< double(const std::vector< double > &)> aggregation_function
int behavior
std::function< std::string(double)> format_function
std::string alias

Detailed Description

The properties about a signal or control.

Member Data Documentation

◆ aggregation_function

std::function<double(const std::vector<double> &)> geopm::SysfsDriver::properties_s::aggregation_function

◆ alias

std::string geopm::SysfsDriver::properties_s::alias

◆ attribute

std::string geopm::SysfsDriver::properties_s::attribute

◆ behavior

int geopm::SysfsDriver::properties_s::behavior

◆ description

std::string geopm::SysfsDriver::properties_s::description

◆ format_function

std::function<std::string(double)> geopm::SysfsDriver::properties_s::format_function

◆ is_writable

bool geopm::SysfsDriver::properties_s::is_writable

◆ name

std::string geopm::SysfsDriver::properties_s::name

◆ scaling_factor

double geopm::SysfsDriver::properties_s::scaling_factor

◆ units

int geopm::SysfsDriver::properties_s::units

The documentation for this struct was generated from the following file: