summaryrefslogtreecommitdiff
path: root/src/systemc/ext/utils/sc_report_handler.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 20:02:06 -0700
committerGabe Black <gabeblack@google.com>2018-08-28 21:16:00 +0000
commitdc0b98dcdcc8f3665eac4d924060a51493862f2e (patch)
tree22245ea397d7bb494d7769d4d81c8484da17b5b4 /src/systemc/ext/utils/sc_report_handler.hh
parenta3385dadcb0ffb53da32d2690c0ea8157e2419bd (diff)
downloadgem5-dc0b98dcdcc8f3665eac4d924060a51493862f2e.tar.xz
systemc: Add some nonstandard, undocumented sc_report_* functions.
The tests use these functions. Change-Id: I3cdc10d433d9388742a20fb3a97a1a3efa699e11 Reviewed-on: https://gem5-review.googlesource.com/11271 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/utils/sc_report_handler.hh')
-rw-r--r--src/systemc/ext/utils/sc_report_handler.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/systemc/ext/utils/sc_report_handler.hh b/src/systemc/ext/utils/sc_report_handler.hh
index aa0b1c99d..f6e32b9ad 100644
--- a/src/systemc/ext/utils/sc_report_handler.hh
+++ b/src/systemc/ext/utils/sc_report_handler.hh
@@ -30,6 +30,8 @@
#ifndef __SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__
#define __SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__
+#include <string>
+
#include "sc_report.hh" // for sc_severity
namespace sc_core
@@ -135,6 +137,11 @@ class sc_report_handler
void sc_interrupt_here(const char *msg_type, sc_severity);
void sc_stop_here(const char *msg_type, sc_severity);
+// Nonstandard
+// From Accellera, "not documented, but available".
+const std::string sc_report_compose_message(const sc_report &);
+bool sc_report_close_default_log();
+
} // namespace sc_core
#endif //__SYSTEMC_EXT_UTIL_SC_REPORT_HANDLER_HH__