You could do this by modifying the load and store instructions of the ISA you're using. They'll know what registers they're using and for what purpose.

Gabe

Quoting Gustavo Henrique Nihei <ghni...@gmail.com>:

Nobody? =/

On Wed, Apr 27, 2011 at 9:54 AM, Gustavo Henrique Nihei
<ghni...@gmail.com>wrote:

Hi,

I want to identify the type of memory accesses of the application that's
running in the platform.
For stack accesses, I suppose it is as simple as verifying if the src or
dst register of a load/store instruction is the stack/frame pointer.
But where would be the appropriate place to monitor this, and to count how
many times this occurs?

Thanks in advance.

--
Gustavo Henrique Nihei
LAPS - Laboratório de Automação do Projeto de Sistemas
NIME - Núcleo Interdepartamental de Microeletrônica
Universidade Federal de Santa Catarina
Florianópolis - Santa Catarina - Brasil




--
Gustavo Henrique Nihei
LAPS - Laboratório de Automação do Projeto de Sistemas
NIME - Núcleo Interdepartamental de Microeletrônica
Universidade Federal de Santa Catarina
Florianópolis - Santa Catarina - Brasil



_______________________________________________
gem5-users mailing list
gem5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to