SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
trace_monitor_interface.h
Go to the documentation of this file.
1/*
2 © 2016 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_TRACE_MONITOR_INTERFACE_H
15#define SIMICS_SYSTEMC_TRACE_MONITOR_INTERFACE_H
16
17#include <systemc>
18
19namespace simics {
20namespace systemc {
21
22#define INTC_TRIGGER_PROCESS_ACTIVATION "process activation"
23#define INTC_TRIGGER_EVENT_TRIGGERED "event triggered"
24#define INTC_TRIGGER_ASYNC_REQUEST_UPDATE "async_request_update"
25#define INTC_TRIGGER_DELTA_CYCLE_COMPLETED "delta_cycle_completed"
26
29 public:
31 virtual void event_callback(const char *event_type,
32 const char *class_type,
33 void *object,
34 const sc_core::sc_time &ts) = 0;
35};
36
39 public:
40 virtual void subscribeAllDynamic(const char *event_type,
41 EventCallbackInterface *callback) = 0;
42 virtual void subscribe(const char *event_type,
43 const void *obj,
44 EventCallbackInterface *callback,
45 bool trace) = 0;
46 virtual void unsubscribeAllDynamic(const char *event_type,
47 EventCallbackInterface *callback) = 0;
48 virtual void kernel_callback(int kernel_event_type,
49 const char *event_type,
50 const char *event_class_type,
51 void *event_object,
52 const sc_core::sc_time &ts) = 0;
54};
55
56} // namespace systemc
57} // namespace simics
58
59#endif
60
Definition: trace_monitor_interface.h:28
virtual ~EventCallbackInterface()
Definition: trace_monitor_interface.h:30
virtual void event_callback(const char *event_type, const char *class_type, void *object, const sc_core::sc_time &ts)=0
Definition: trace_monitor_interface.h:38
virtual void kernel_callback(int kernel_event_type, const char *event_type, const char *event_class_type, void *event_object, const sc_core::sc_time &ts)=0
virtual ~TraceMonitorInterface()
Definition: trace_monitor_interface.h:53
virtual void unsubscribeAllDynamic(const char *event_type, EventCallbackInterface *callback)=0
virtual void subscribeAllDynamic(const char *event_type, EventCallbackInterface *callback)=0
virtual void subscribe(const char *event_type, const void *obj, EventCallbackInterface *callback, bool trace)=0
Definition: adapter.h:79