|
PAPI 7.1.0.0
|
OCC Inband Sensors component for PowerPC This file contains the source code for a component that enables PAPI to read counters and sensors on PowerPC (Power9) architecture. More...


Go to the source code of this file.
Data Structures | |
| struct | _sensors_ppc_register_t |
| struct | _sensors_ppc_native_event_entry_t |
| struct | _sensors_ppc_reg_alloc_t |
| struct | occ_sensor_data_header_s |
| struct | occ_sensor_name_s |
| struct | occ_sensor_record_s |
| struct | occ_sensor_counter_s |
| struct | _sensors_ppc_control_state_t |
| struct | _sensors_ppc_context_t |
Macros | |
| #define | papi_sensors_ppc_lock() _papi_hwi_lock(COMPONENT_LOCK); |
| #define | papi_sensors_ppc_unlock() _papi_hwi_unlock(COMPONENT_LOCK); |
| #define | OCC_SENSOR_READING_FULL 0x01 |
| #define | OCC_SENSOR_READING_COUNTER 0x02 |
| #define | MAX_OCCS 8 |
| #define | OCC_SENSOR_DATA_BLOCK_OFFSET 0x00580000 |
| #define | OCC_SENSOR_DATA_BLOCK_SIZE 0x00025800 |
| #define | OCC_PING_DATA_BLOCK_SIZE 0xA000 |
| #define | OCC_REFRESH_TIME 100000 |
| #define | MAX_CHARS_SENSOR_NAME 16 |
| #define | MAX_CHARS_SENSOR_UNIT 4 |
| #define | SENSORS_PPC_MAX_COUNTERS MAX_OCCS * 512 * OCC_SENSORS_MASKS |
Functions | |
| struct occ_sensor_data_header_s | __attribute__ ((__packed__)) occ_sensor_data_header_t |
CVS: $Id$
Definition in file linux-sensors-ppc.h.
| #define MAX_CHARS_SENSOR_NAME 16 |
Definition at line 119 of file linux-sensors-ppc.h.
| #define MAX_CHARS_SENSOR_UNIT 4 |
Definition at line 120 of file linux-sensors-ppc.h.
| #define MAX_OCCS 8 |
Definition at line 89 of file linux-sensors-ppc.h.
| #define OCC_PING_DATA_BLOCK_SIZE 0xA000 |
Definition at line 92 of file linux-sensors-ppc.h.
| #define OCC_REFRESH_TIME 100000 |
Definition at line 93 of file linux-sensors-ppc.h.
| #define OCC_SENSOR_DATA_BLOCK_OFFSET 0x00580000 |
Definition at line 90 of file linux-sensors-ppc.h.
| #define OCC_SENSOR_DATA_BLOCK_SIZE 0x00025800 |
Definition at line 91 of file linux-sensors-ppc.h.
| #define OCC_SENSOR_READING_COUNTER 0x02 |
Definition at line 78 of file linux-sensors-ppc.h.
| #define OCC_SENSOR_READING_FULL 0x01 |
Definition at line 77 of file linux-sensors-ppc.h.
| #define papi_sensors_ppc_lock | ( | ) | _papi_hwi_lock(COMPONENT_LOCK); |
Definition at line 28 of file linux-sensors-ppc.h.
| #define papi_sensors_ppc_unlock | ( | ) | _papi_hwi_unlock(COMPONENT_LOCK); |
Definition at line 29 of file linux-sensors-ppc.h.
| #define SENSORS_PPC_MAX_COUNTERS MAX_OCCS * 512 * OCC_SENSORS_MASKS |
Definition at line 200 of file linux-sensors-ppc.h.
| enum occ_sensor_loc_t |
Definition at line 65 of file linux-sensors-ppc.h.
| enum occ_sensor_type_t |
Definition at line 53 of file linux-sensors-ppc.h.
| enum occ_sensors_mask_t |
Definition at line 172 of file linux-sensors-ppc.h.
| struct occ_sensor_data_header_s __attribute__ | ( | (__packed__) | ) |
| uint64_t accumulator |
Definition at line 11 of file linux-sensors-ppc.h.
| uint16_t csm_max |
Definition at line 6 of file linux-sensors-ppc.h.
| uint16_t csm_min |
Definition at line 5 of file linux-sensors-ppc.h.
|
static |
Definition at line 117 of file linux-sensors-ppc.h.
|
static |
Definition at line 117 of file linux-sensors-ppc.h.
|
static |
Definition at line 112 of file linux-sensors-ppc.h.
| uint32_t freq |
Definition at line 3 of file linux-sensors-ppc.h.
| uint16_t gsid |
Definition at line 2 of file linux-sensors-ppc.h.
| uint16_t job_scheduler_max |
Definition at line 10 of file linux-sensors-ppc.h.
| uint16_t job_scheduler_min |
Definition at line 9 of file linux-sensors-ppc.h.
Definition at line 113 of file linux-sensors-ppc.h.
| uint16_t location |
Definition at line 6 of file linux-sensors-ppc.h.
| char name[MAX_CHARS_SENSOR_NAME] |
Definition at line 0 of file linux-sensors-ppc.h.
| uint8_t name_length |
Definition at line 7 of file linux-sensors-ppc.h.
| uint32_t names_offset |
Definition at line 5 of file linux-sensors-ppc.h.
| uint8_t names_version |
Definition at line 6 of file linux-sensors-ppc.h.
| uint16_t nr_sensors |
Definition at line 2 of file linux-sensors-ppc.h.
|
static |
Definition at line 51 of file linux-sensors-ppc.h.
|
static |
Definition at line 114 of file linux-sensors-ppc.h.
| struct occ_sensor_data_header_s* occ_hdr[MAX_OCCS] |
Definition at line 111 of file linux-sensors-ppc.h.
| struct occ_sensor_name_s* occ_names[MAX_OCCS] |
Definition at line 139 of file linux-sensors-ppc.h.
Definition at line 115 of file linux-sensors-ppc.h.
| uint8_t pad |
Definition at line 4 of file linux-sensors-ppc.h.
|
static |
Definition at line 116 of file linux-sensors-ppc.h.
|
static |
Definition at line 81 of file linux-sensors-ppc.h.
|
static |
Definition at line 80 of file linux-sensors-ppc.h.
|
static |
Definition at line 116 of file linux-sensors-ppc.h.
| uint16_t profiler_max |
Definition at line 8 of file linux-sensors-ppc.h.
| uint16_t profiler_min |
Definition at line 7 of file linux-sensors-ppc.h.
| uint32_t reading_offset |
Definition at line 8 of file linux-sensors-ppc.h.
| uint32_t reading_ping_offset |
Definition at line 9 of file linux-sensors-ppc.h.
| uint32_t reading_pong_offset |
Definition at line 10 of file linux-sensors-ppc.h.
| uint8_t reading_version |
Definition at line 3 of file linux-sensors-ppc.h.
| uint16_t reserved |
Definition at line 8 of file linux-sensors-ppc.h.
| uint8_t sample |
Definition at line 2 of file linux-sensors-ppc.h.
| uint16_t sample_max |
Definition at line 4 of file linux-sensors-ppc.h.
| uint16_t sample_min |
Definition at line 3 of file linux-sensors-ppc.h.
| uint32_t scale_factor |
Definition at line 4 of file linux-sensors-ppc.h.
| uint8_t sensor_data |
Definition at line 9 of file linux-sensors-ppc.h.
|
static |
Definition at line 188 of file linux-sensors-ppc.h.
|
static |
Definition at line 186 of file linux-sensors-ppc.h.
| uint8_t structure_type |
Definition at line 7 of file linux-sensors-ppc.h.
| uint64_t timestamp |
Definition at line 1 of file linux-sensors-ppc.h.
| uint16_t type |
Definition at line 5 of file linux-sensors-ppc.h.
| char units[MAX_CHARS_SENSOR_UNIT] |
Definition at line 1 of file linux-sensors-ppc.h.
| uint32_t update_tag |
Definition at line 12 of file linux-sensors-ppc.h.
| uint8_t valid |
Definition at line 0 of file linux-sensors-ppc.h.
| uint8_t version |
Definition at line 1 of file linux-sensors-ppc.h.