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// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3/*
4 © 2016 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_TRACE_MONITOR_INTERFACE_H
17#define SIMICS_SYSTEMC_TRACE_MONITOR_INTERFACE_H
18
19#include <systemc>
20
21namespace simics {
22namespace systemc {
23
24#define INTC_TRIGGER_PROCESS_ACTIVATION "process activation"
25#define INTC_TRIGGER_EVENT_TRIGGERED "event triggered"
26#define INTC_TRIGGER_ASYNC_REQUEST_UPDATE "async_request_update"
27#define INTC_TRIGGER_DELTA_CYCLE_COMPLETED "delta_cycle_completed"
28
31 public:
33 virtual void event_callback(const char *event_type,
34 const char *class_type,
35 void *object,
36 const sc_core::sc_time &ts) = 0;
37};
38
41 public:
42 virtual void subscribeAllDynamic(const char *event_type,
43 EventCallbackInterface *callback) = 0;
44 virtual void subscribe(const char *event_type,
45 const void *obj,
46 EventCallbackInterface *callback,
47 bool trace) = 0;
48 virtual void unsubscribeAllDynamic(const char *event_type,
49 EventCallbackInterface *callback) = 0;
50 virtual void kernel_callback(int kernel_event_type,
51 const char *event_type,
52 const char *event_class_type,
53 void *event_object,
54 const sc_core::sc_time &ts) = 0;
56};
57
58} // namespace systemc
59} // namespace simics
60
61#endif
62
Definition: trace_monitor_interface.h:30
virtual ~EventCallbackInterface()
Definition: trace_monitor_interface.h:32
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:40
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:55
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: pci_bus_interface.h:24