From 7121bc58ac8cdcaf56ada4d4e5abce1a9efffab3 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 13 Aug 2020 18:19:15 -0700 Subject: [PATCH] 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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32641 Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black Tested-by: kokoro --- util/systemc/gem5_within_systemc/stats.cc | 2 +- 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 524936513..b073afa0d 100644 --- a/util/systemc/gem5_within_systemc/stats.cc +++ b/util/systemc/gem5_within_systemc/stats.cc @@ -72,7 +72,7 @@ void statsPrepare() void statsDump() { bool desc = true; - Stats::Output *output = Stats::initText(filename, desc); + Stats::Output *output = Stats::initText(filename, desc, true); Stats::processDumpQueue(); -- 2.30.2