Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/32641 )

Change subject: util,systemc: Update the stats API used in one of the examples.
......................................................................

util,systemc: Update the stats API used in one of the examples.

A new parameter as added to the initText method in March of this year,
but this example code was not updated which prevents it from compiling.

This change adds the parameter to the call and sets it to what the
documenting comments say is the default, true.

Change-Id: Ic8da46dba03f01f338c38a7bc02ba232a90ae349
---
M util/systemc/gem5_within_systemc/stats.cc
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/util/systemc/gem5_within_systemc/stats.cc b/util/systemc/gem5_within_systemc/stats.cc
index 5249365..b073afa 100644
--- a/util/systemc/gem5_within_systemc/stats.cc
+++ b/util/systemc/gem5_within_systemc/stats.cc
@@ -72,7 +72,7 @@
 void statsDump()
 {
     bool desc = true;
-    Stats::Output *output = Stats::initText(filename, desc);
+    Stats::Output *output = Stats::initText(filename, desc, true);

     Stats::processDumpQueue();


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/32641
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ic8da46dba03f01f338c38a7bc02ba232a90ae349
Gerrit-Change-Number: 32641
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to