geopm
3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
|
Defines functions that interact directly with SST ioctls. More...
#include <SSTIoctl.hpp>
Public Member Functions | |
virtual | ~SSTIoctl ()=default |
virtual int | version (sst_version_s *version)=0 |
Send an ioctl to the SST version interface. More... | |
virtual int | get_cpu_id (sst_cpu_map_interface_batch_s *cpu_batch)=0 |
Get mappings of logical CPUs to punit CPUs. More... | |
virtual int | mbox (sst_mbox_interface_batch_s *mbox_batch)=0 |
Interact with the SST mailbox. This may be for send or receive operations. More... | |
virtual int | mmio (sst_mmio_interface_batch_s *mmio_batch)=0 |
Interact with the SST MMIO interface. This may be for read or write operations. More... | |
Static Public Member Functions | |
static std::shared_ptr< SSTIoctl > | make_shared (const std::string &path) |
create an object to interact with this interface. More... | |
Defines functions that interact directly with SST ioctls.
|
virtualdefault |
|
pure virtual |
Get mappings of logical CPUs to punit CPUs.
[in,out] | cpu_batch | a set of CPU mappings. The maximum number of mappings per ioctl request is specified by the SST version information. |
Implemented in geopm::SSTIoctlImp.
|
static |
create an object to interact with this interface.
path | Path to the ioctl node. |
|
pure virtual |
Interact with the SST mailbox. This may be for send or receive operations.
[in,out] | mbox_batch | collection of operations to perform in this ioctl call. The maximum count of operations is specified by the SST version information. |
Implemented in geopm::SSTIoctlImp.
|
pure virtual |
Interact with the SST MMIO interface. This may be for read or write operations.
[in,out] | mmio_batch | collection of operations to perform in this ioctl call. The maximum count of operations is specified by the SST version information. |
Implemented in geopm::SSTIoctlImp.
|
pure virtual |
Send an ioctl to the SST version interface.
[out] | version | SST version information. |
Implemented in geopm::SSTIoctlImp.