gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Resetting and dumping stats in Gem5

VP
VIPIN PATEL
Tue, Jul 5, 2022 5:07 PM

Hi All,

I want to reset the gem5 stats before the start of ROI (region of interest)
and dump the stats as soon as the ROI completes.
I looked into a few old mail archives, but was unable to locate m5op.h
header for resetting and dumping the stats.

Could anyone guide me through the correct way to do this in SE mode?

I am using gem5 v20.

Regards,
Vipin

Hi All, I want to reset the gem5 stats before the start of ROI (region of interest) and dump the stats as soon as the ROI completes. I looked into a few old mail archives, but was unable to locate m5op.h header for resetting and dumping the stats. Could anyone guide me through the correct way to do this in SE mode? I am using gem5 v20. Regards, Vipin
HN
Hoa Nguyen
Tue, Jul 5, 2022 7:02 PM

Hi,

The header file is in the include/ folder in the gem5 source folder. You
can pass the parameter "-I gem5/include/" to the compiler while compiling
the workload.

Regards,
Hoa Nguyen

On Tue, Jul 5, 2022, 10:10 VIPIN PATEL patelvipin11@gmail.com wrote:

Hi All,

I want to reset the gem5 stats before the start of ROI (region of
interest) and dump the stats as soon as the ROI completes.
I looked into a few old mail archives, but was unable to locate m5op.h
header for resetting and dumping the stats.

Could anyone guide me through the correct way to do this in SE mode?

I am using gem5 v20.

Regards,
Vipin


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi, The header file is in the include/ folder in the gem5 source folder. You can pass the parameter "-I gem5/include/" to the compiler while compiling the workload. Regards, Hoa Nguyen On Tue, Jul 5, 2022, 10:10 VIPIN PATEL <patelvipin11@gmail.com> wrote: > Hi All, > > I want to reset the gem5 stats before the start of ROI (region of > interest) and dump the stats as soon as the ROI completes. > I looked into a few old mail archives, but was unable to locate m5op.h > header for resetting and dumping the stats. > > Could anyone guide me through the correct way to do this in SE mode? > > I am using gem5 v20. > > Regards, > Vipin > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
ST
Sharma, Tanvi
Tue, Jul 12, 2022 8:28 PM

Hi Vipin,

Could you resolve this issue?
You could try this: #include <gem5/asm/generic/m5ops.h>

Thanks & Regards,
Tanvi


From: VIPIN PATEL patelvipin11@gmail.com
Sent: 05 July 2022 10:07 AM
To: gem5 users mailing list gem5-users@gem5.org
Subject: [gem5-users] Resetting and dumping stats in Gem5

Hi All,

I want to reset the gem5 stats before the start of ROI (region of interest) and dump the stats as soon as the ROI completes.
I looked into a few old mail archives, but was unable to locate m5op.h header for resetting and dumping the stats.

Could anyone guide me through the correct way to do this in SE mode?

I am using gem5 v20.

Regards,
Vipin

Hi Vipin, Could you resolve this issue? You could try this: #include <gem5/asm/generic/m5ops.h> Thanks & Regards, Tanvi ________________________________ From: VIPIN PATEL <patelvipin11@gmail.com> Sent: 05 July 2022 10:07 AM To: gem5 users mailing list <gem5-users@gem5.org> Subject: [gem5-users] Resetting and dumping stats in Gem5 Hi All, I want to reset the gem5 stats before the start of ROI (region of interest) and dump the stats as soon as the ROI completes. I looked into a few old mail archives, but was unable to locate m5op.h header for resetting and dumping the stats. Could anyone guide me through the correct way to do this in SE mode? I am using gem5 v20. Regards, Vipin