14#ifndef SIMICS_SYSTEMC_IFACE_SC_PROCESS_PROFILER_SIMICS_ADAPTER_H
15#define SIMICS_SYSTEMC_IFACE_SC_PROCESS_PROFILER_SIMICS_ADAPTER_H
20#include <systemc-interfaces.h>
30template<
typename TBase,
typename TInterface = ScProcessProfilerInterface>
36 SC_PROCESS_PROFILER_INTERFACE,
42 return adapter<TBase, TInterface>(obj)->min_time();
45 return adapter<TBase, TInterface>(obj)->max_time();
48 return adapter<TBase, TInterface>(obj)->total_time();
51 return adapter<TBase, TInterface>(obj)->number_of_calls();
55 std::vector<std::string> description(conf_object_t *obj,
57 return descriptionBase<TBase, TInterface>(obj, type);
59 sc_process_profiler_interface_t init_iface() {
60 sc_process_profiler_interface_t iface = {};
Definition: sc_process_profiler_simics_adapter.h:32
ScProcessProfilerSimicsAdapter()
Definition: sc_process_profiler_simics_adapter.h:34
::uint64 max_time(conf_object_t *obj)
Definition: sc_process_profiler_simics_adapter.h:44
::uint64 number_of_calls(conf_object_t *obj)
Definition: sc_process_profiler_simics_adapter.h:50
::uint64 total_time(conf_object_t *obj)
Definition: sc_process_profiler_simics_adapter.h:47
::uint64 min_time(conf_object_t *obj)
Definition: sc_process_profiler_simics_adapter.h:41
Base class for mapping Simics interface to a C++ interface.
Definition: simics_adapter.h:45
DescriptionType
Definition: description_interface.h:23