Hi

i have a C application in which i want to see how much cycles a loop can
take to finish ... So someone advised me to use "m5_dumpreset_stats()".

So, I did the following:

#include "/util/m5/m5op.h"

void foo()
{
   m5_dumpreset_stats(0,0);
       /* Loop to measure */
   m5_dumpreset_stats(0,0);
}

but when i build the project using a makefile with eclipse i get this error:
undefined reference to `m5_dumpreset_stats'

what i did wrong please and how can i fix it ??
Thank you
PS: joined you will find the makefile i used

-- 
*Anouar NECHI*

Attachment: Makefile
Description: Binary data

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to