Meng Chen has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/50608 )

Change subject: base-stats: Modify the invoke of storageParam in statistics.hh
......................................................................

base-stats: Modify the invoke of storageParam in statistics.hh

The previous revert (40cd47c) brought `statistics.h` into an old version. Update the invoke with the newer interface.

Change-Id: I99b15ba3f84e4419f04f5315c725854267538dd1
---
M src/base/statistics.hh
1 file changed, 3 insertions(+), 3 deletions(-)



diff --git a/src/base/statistics.hh b/src/base/statistics.hh
index e380a87..d980e17 100644
--- a/src/base/statistics.hh
+++ b/src/base/statistics.hh
@@ -957,7 +957,7 @@
         storage = reinterpret_cast<Storage *>(ptr);

         for (off_type i = 0; i < _size; ++i)
-            new (&storage[i]) Storage(this->info()->storageParams);
+            new (&storage[i]) Storage(this->info()->getStorageParams());

         this->setInit();
     }
@@ -1196,7 +1196,7 @@
         storage = reinterpret_cast<Storage *>(ptr);

         for (off_type i = 0; i < _size; ++i)
-            new (&storage[i]) Storage(info->storageParams);
+            new (&storage[i]) Storage(info->getStorageParams());

         this->setInit();

@@ -1413,7 +1413,7 @@

         Info *info = this->info();
         for (off_type i = 0; i < _size; ++i)
-            new (&storage[i]) Storage(info->storageParams);
+            new (&storage[i]) Storage(info->getStorageParams());

         this->setInit();
     }

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50608
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: I99b15ba3f84e4419f04f5315c725854267538dd1
Gerrit-Change-Number: 50608
Gerrit-PatchSet: 1
Gerrit-Owner: Meng Chen <[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