Re: [gem5-users] could i add a new opcode to source code of benchmark

2012-06-12 Thread Nilay
On Mon, June 11, 2012 3:05 am, xuxin wrote: > > > > > > > > > > > > > >> You don't need to add any code to gem5, at least not for the dumping >> statistics. You only need to add some code to your application. For >> example, take a look at the function do_dump_stats() in file >> util/m5/m5.c. >> >>

Re: [gem5-users] could i add a new opcode to source code of benchmark

2012-06-11 Thread xuxin
> You don't need to add any code to gem5, at least not for the dumping > statistics. You only need to add some code to your application. For > example, take a look at the function do_dump_stats() in file util/m5/m5.c. > > -- > Nilay > ___

Re: [gem5-users] could i add a new opcode to source code of benchmark

2012-06-08 Thread Nilay Vaish
On Fri, 8 Jun 2012, xuxin wrote: I'm so sorry for bother you with stupid question I have not add code the gem5 because i really don't know how to do it pseudo instruction like : dumpstats [delay [period]]: Save simulation statistics to a file in delay ticks; repeat this every period ticks. w

Re: [gem5-users] could i add a new opcode to source code of benchmark

2012-06-08 Thread xuxin
I'm so sorry for bother you with stupid question I have not add code the gem5 because i really don't know how to do it pseudo instruction like : dumpstats [delay [period]]: Save simulation statistics to a file in delay ticks; repeat this every period ticks. which source code file implemented

Re: [gem5-users] could i add a new opcode to source code of benchmark

2012-06-08 Thread Nilay
On Thu, June 7, 2012 10:09 pm, xuxin wrote: > > > > > thank you for reply > i have read -- http://gem5.org/M5ops and tutorious many times, > but i can't understand how to do it, so i read util/m5/m5op.h, > util/m5/m5.c > and util/m5/m5op_alpha.S. It seems that have many work to do, it should > e

Re: [gem5-users] could i add a new opcode to source code of benchmark

2012-06-07 Thread xuxin
thank you for reply i have read -- http://gem5.org/M5ops and tutorious many times, but i can't understand how to do it, so i read util/m5/m5op.h, util/m5/m5.c and util/m5/m5op_alpha.S. It seems that have many work to do, it should edit ISA Parser and so on. it's almost impossible for me

Re: [gem5-users] could i add a new opcode to source code of benchmark

2012-06-07 Thread Nilay Vaish
On Thu, 7 Jun 2012, xuxin wrote: Dear all I'm sorry to bother you. I read tutorials and find special opcodes in M5 is very useful. I want to insert a new operation into the source codejust for notifying each CPU how many times this operation does. 1. is that practical in gem5 ? 2. if it's p

[gem5-users] could i add a new opcode to source code of benchmark

2012-06-07 Thread xuxin
Dear all I'm sorry to bother you. I read tutorials and find special opcodes in M5 is very useful. I want to insert a new operation into the source codejust for notifying each CPU how many times this operation does. 1. is that practical in gem5 ? 2. if it's possible, how to do it ? Best Re