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// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2015 Intel Corporation
5
6 This software and the related documents are Intel copyrighted materials, and
7 your use of them is governed by the express license under which they were
8 provided to you ("License"). Unless the License provides otherwise, you may
9 not use, modify, copy, publish, distribute, disclose or transmit this software
10 or the related documents without Intel's prior written permission.
11
12 This software and the related documents are provided as is, with no express or
13 implied warranties, other than those that are expressly stated in the License.
14*/
15
16#ifndef SIMICS_SYSTEMC_AWARENESS_PROXY_PROCESS_H
17#define SIMICS_SYSTEMC_AWARENESS_PROXY_PROCESS_H
18
19
20
26
27namespace simics {
28namespace systemc {
29namespace awareness {
30
34class ProxyProcess : public Proxy,
40 public:
41 explicit ProxyProcess(simics::ConfObjectRef o);
42 virtual void init(sc_core::sc_object *obj,
44
45 // ScMemoryProfilerInterface
46 attr_value_t allocations() const;
47
48 // ScProcessInterface
49 attr_value_t events() const;
50 const char *file() const;
51 int line() const;
52 int process_id() const;
53 char *dump_state() const;
54 bool initialize() const;
55 int state() const;
56 const char *name() const;
57 void run();
58
59 // ScProcessProfilerInterface
60 uint64_t min_time() const;
61 uint64_t max_time() const;
62 uint64_t total_time() const;
63 uint64_t number_of_calls() const;
64
65 // TraceMonitorCallback
66 virtual void event_callback(const char *event_type,
67 const char *event_class_type,
68 void *event_object,
69 const sc_core::sc_time &ts);
70
72
73 private:
74 sc_core::sc_process_b *process_;
75};
76
77} // namespace awareness
78} // namespace systemc
79} // namespace simics
80
81#endif
Definition: trace_monitor_interface.h:30
Definition: proxy_process.h:39
ProxyProcess(simics::ConfObjectRef o)
virtual void event_callback(const char *event_type, const char *event_class_type, void *event_object, const sc_core::sc_time &ts)
virtual void connection_list_updated(ConnectionListState state)
virtual void init(sc_core::sc_object *obj, iface::SimulationInterface *simulation)
Definition: proxy.h:41
virtual iface::SimulationInterface * simulation()
Definition: sc_memory_profiler_interface.h:24
Definition: sc_process_interface.h:24
Definition: sc_process_profiler_interface.h:26
Interface to the SystemC simulation.
Definition: simulation_interface.h:27
Definition: tool_controller_process_action.h:27
ConnectionListState
Definition: tool_controller.h:76
Definition: pci_bus_interface.h:24