Re: [gem5-users] Memory writes pattern distribution analysis using gem5

2018-05-17 Thread Muhammad Imran
Hi,

Thank you very much, Professor Jason. I will proceed with your advice.

Regards
Imran

On Fri, May 18, 2018 at 1:45 AM, Jason Lowe-Power 
wrote:

> Hi Muhammad,
>
> I would write a new probe and run your analysis online instead of trying
> to generate a trace and running it after the fact. See the examples in
> src/mem/probes.
>
> Jason
>
> ---
> Jason Lowe-Power
> Assistant Professor, Computer Science Department
> University of California, Davis
> 3049 Kemper Hall
> https://faculty.engineering.ucdavis.edu/lowepower/
>
>
>
> On Thu, May 17, 2018 at 7:47 AM Muhammad Imran 
> wrote:
>
>> Hi friends,
>>
>> I am new to learning and using gem5. Currently, I am working on analysis
>> of memory write patterns for various benchmarks. I need to get exact data
>> patterns or at least get the ratio of 1's and 0's or of different states
>> such as '11', '00' etc. So far I could get some information by using debug
>> flag, *--debug-flags=MemoryAccess. *But using only this flag generates a
>> lot of information in addition to data being written to the memory while I
>> am interested only in data patterns. A naive solution would be to process
>> the output trace file to get only the data. I am sure there must be a more
>> efficient way of getting this and someone must have worked on this kind of
>> problem before. Someone with prior experience with this kind of problem can
>> save me a lot of time than trying to figure it out the hard way.
>>
>> Thanks and regards,
>> Muhammad Imran
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Memory writes pattern distribution analysis using gem5

2018-05-17 Thread Jason Lowe-Power
Hi Muhammad,

I would write a new probe and run your analysis online instead of trying to
generate a trace and running it after the fact. See the examples in
src/mem/probes.

Jason

---
Jason Lowe-Power
Assistant Professor, Computer Science Department
University of California, Davis
3049 Kemper Hall
https://faculty.engineering.ucdavis.edu/lowepower/



On Thu, May 17, 2018 at 7:47 AM Muhammad Imran 
wrote:

> Hi friends,
>
> I am new to learning and using gem5. Currently, I am working on analysis
> of memory write patterns for various benchmarks. I need to get exact data
> patterns or at least get the ratio of 1's and 0's or of different states
> such as '11', '00' etc. So far I could get some information by using debug
> flag, *--debug-flags=MemoryAccess. *But using only this flag generates a
> lot of information in addition to data being written to the memory while I
> am interested only in data patterns. A naive solution would be to process
> the output trace file to get only the data. I am sure there must be a more
> efficient way of getting this and someone must have worked on this kind of
> problem before. Someone with prior experience with this kind of problem can
> save me a lot of time than trying to figure it out the hard way.
>
> Thanks and regards,
> Muhammad Imran
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users