SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
process_profiler_control.h
Go to the documentation of this file.
1/*
2 © 2015 Intel Corporation
3
4 This software and the related documents are Intel copyrighted materials, and
5 your use of them is governed by the express license under which they were
6 provided to you ("License"). Unless the License provides otherwise, you may
7 not use, modify, copy, publish, distribute, disclose or transmit this software
8 or the related documents without Intel's prior written permission.
9
10 This software and the related documents are provided as is, with no express or
11 implied warranties, other than those that are expressly stated in the License.
12*/
13
14#ifndef SIMICS_SYSTEMC_PROCESS_PROFILER_CONTROL_H
15#define SIMICS_SYSTEMC_PROCESS_PROFILER_CONTROL_H
16
19
20namespace simics {
21namespace systemc {
22
24 public:
26 simulation_(simulation) {}
27 bool is_enabled() override;
28 void set_enabled(bool enable) override;
29 uint64_t total_time() override;
30 uint64_t total_number_of_calls() override;
31 void clear_data() override;
32 private:
33 iface::SimulationInterface *simulation_;
34};
35
36} // namespace systemc
37} // namespace simics
38
39#endif
Definition: process_profiler_control.h:23
void set_enabled(bool enable) override
ProcessProfilerControl(iface::SimulationInterface *simulation)
Definition: process_profiler_control.h:25
Definition: sc_process_profiler_control_interface.h:24
Interface to the SystemC simulation.
Definition: simulation_interface.h:25
Definition: adapter.h:79