SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
proxy_process.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_AWARENESS_PROXY_PROCESS_H
15#define SIMICS_SYSTEMC_AWARENESS_PROXY_PROCESS_H
16
17
18
24
25namespace simics {
26namespace systemc {
27namespace awareness {
28
32class ProxyProcess : public Proxy,
38 public:
39 explicit ProxyProcess(simics::ConfObjectRef o);
40 void init(sc_core::sc_object *obj,
42
43 // ScMemoryProfilerInterface
44 attr_value_t allocations() const override;
45
46 // ScProcessInterface
47 attr_value_t events() const override;
48 const char *file() const override;
49 int line() const override;
50 int process_id() const override;
51 char *dump_state() const override;
52 bool initialize() const override;
53 int state() const override;
54 void run() override;
55
56 // ScProcessProfilerInterface
57 uint64_t min_time() const override;
58 uint64_t max_time() const override;
59 uint64_t total_time() const override;
60 uint64_t number_of_calls() const override;
61
62 // TraceMonitorCallback
63 void event_callback(const char *event_type,
64 const char *event_class_type,
65 void *event_object,
66 const sc_core::sc_time &ts) override;
67
69
70 private:
71 sc_core::sc_process_b *process_;
72};
73
74} // namespace awareness
75} // namespace systemc
76} // namespace simics
77
78#endif
Definition: trace_monitor_interface.h:28
Definition: proxy_process.h:37
ProxyProcess(simics::ConfObjectRef o)
const char * file() const override
void connection_list_updated(ConnectionListState state) override
void init(sc_core::sc_object *obj, iface::SimulationInterface *simulation) override
void event_callback(const char *event_type, const char *event_class_type, void *event_object, const sc_core::sc_time &ts) override
uint64_t total_time() const override
uint64_t number_of_calls() const override
attr_value_t events() const override
attr_value_t allocations() const override
uint64_t max_time() const override
uint64_t min_time() const override
Definition: proxy.h:39
iface::SimulationInterface * simulation() override
Definition: sc_memory_profiler_interface.h:22
Definition: sc_process_interface.h:22
Definition: sc_process_profiler_interface.h:24
Interface to the SystemC simulation.
Definition: simulation_interface.h:25
Definition: tool_controller_process_action.h:25
ConnectionListState
Definition: tool_controller.h:74
Definition: adapter.h:79