12#ifndef ARCANE_STD_PAPIPERFORMANCESERVICE_H
13#define ARCANE_STD_PAPIPERFORMANCESERVICE_H
17#include "arcane/utils/IProfilingService.h"
19#include "arcane/core/AbstractService.h"
35class PapiPerformanceService
42 ~PapiPerformanceService()
override;
49 void switchEvent()
override;
54 void reset()
override;
61 bool m_only_flops =
false;
62 bool m_is_running =
false;
63 bool m_is_initialized =
false;
70 bool _addEvent(
int event_code,
int event_index);
71 static void arcane_papi_handler(
int EventSet,
void* address,
72 long_long overflow_vector,
void* context);
AbstractService(const ServiceBuildInfo &)
Constructor from a ServiceBuildInfo.
Interface of a profiling service.
Interface of a timer manager.
Structure containing the information to create a service.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Array< Int64 > Int64Array
Dynamic one-dimensional array of 64-bit integers.