|
geopm 3.2.1.dev237+gbe30cff60
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. | |
| virtual int | get_cpu_id (sst_cpu_map_interface_batch_s *cpu_batch)=0 |
| Get mappings of logical CPUs to punit CPUs. | |
| virtual int | mbox (sst_mbox_interface_batch_s *mbox_batch)=0 |
| Interact with the SST mailbox. This may be for send or receive operations. | |
| 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. | |
Static Public Member Functions | |
| static std::shared_ptr< SSTIoctl > | make_shared (const std::string &path) |
| create an object to interact with this interface. | |
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.