1. Extend the PAPI library. First, an existing PAPI component must be
extended or a new one must be created, according to the official PAPI docu-
mentation [
7
]. Hereby, developers implement the abstract PAPI API and hide
resource-specific details. This step allows for retrieving the new component-
specific measurements by invoking PAPI read().
2. Configure the Ampehre library. Depending on the new sensor, the
Ampehre library must be configured to properly process the raw data read
from the PAPI library. This can be done by simply modifying a configuration
file.
Do'stlaringiz bilan baham: |