9.0-rc1 (revision bed9cc26b)
|
Types used by metric service. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | SCOREP_Metric_Properties |
struct | SCOREP_MetricTimeValuePair |
Types used by metric service.
enum SCOREP_MetricBase |
enum SCOREP_MetricMode |
Types to be used in defining metric mode (SCOREP_Definitions_NewMetric()). The mode consists of a timing and a value semantic. The possible value semantics are:
The possible timing semantics are:
enum SCOREP_MetricPer |
Enumeration to define how many threads should record the metrics of a plugin. Used by SCOREP_Metric_Plugin_Info::run_per.
Types used to define type of profiling.
Metric sources to be used in defining a metric member (SCOREP_Definitions_NewMetric()).
Enumeration to define the synchronicity type of a metric. Used by SCOREP_Metric_Plugin_Info::sync.
Enumerator | |
---|---|
SCOREP_METRIC_STRICTLY_SYNC |
The current value of each metric is queried by Score-P whenever an enter/leave event occurs via get_current_value. The plugin must always be able to provide a current value. The plugin provides the value itself, the timestamp is provided by Score-P. This setting is used for metrics that can be measured with minimal runtime costs and updated very frequently. |
SCOREP_METRIC_SYNC |
The current value of each metric is queried by Score-P whenever an enter/leave event occurs via get_optional_value. Providing a value is optional in case no new value is available in the plugin. The plugin provides the value itself, the timestamp is provided by Score-P. This setting is used for metrics that can be measured with minimal runtime costs but do not necessarily always change. |
SCOREP_METRIC_ASYNC_EVENT |
Metric values are be measured at arbitrary points in time, but are collected at enter/leave events. Whenever an enter/leave event occurs, Score-P queries the plugin via get_all_values for a list of timestamp-value-pairs. This setting can be used for some special cases, SCOREP_METRIC_ASYNC is usually easier to implement. |
SCOREP_METRIC_ASYNC |
Metric values are be measured at arbitrary points in time. All values are collected once at the very end of the execution. Score-P collects the values and associated timestamps via get_all_values. This setting is used for metrics that are recorded on external systems or within a separate thread. While it does require additional memory buffers to store the measurement, it usually reduces the overhead by decoupling the measurement from collection. It is also called post-mortem processing. |
Possible modes of a synchronization point. Express the time when a synchronization happens.
Types to be used in defining type of metric values (SCOREP_Definitions_NewMetric()). The interface uses UINT64 for all values, the other types should be reinterpreted using a union.
Enumerator | |
---|---|
SCOREP_METRIC_VALUE_INT64 |
64 bit integer |
SCOREP_METRIC_VALUE_UINT64 |
64 bit unsigned integer |
SCOREP_METRIC_VALUE_DOUBLE |
double precision floating point |