Skip to content

frequent

Mario Bielert edited this page Jun 29, 2017 · 8 revisions

The frequent policy is used to set the delta_t property of the plugin. This property defines, how often the get_all_values handler of an async plugin is called. This policy will set that property to a user defined value.

This policy conflicts with the post_mortem policy.

This policy requires the async policy.

Required methods

static std::uint64_t get_metric_gather_interval()

This method is called during the initialisation of the plugin. It shall return an appropriate value for the delta_t property of the plugin.

Note:

During the call of this method, the scorep_clock wasn't set yet. Thus you MUST NOT use the scorep::chromo::measurement_clock.

Returns:

  • uint64 - the minimal number of ticks between get_all_values calls.

Provided methods

This policy doesn't provide any methods.

See also

Clone this wiki locally