I am just creating a new packet.

PacketPtr inv_pkt= new Packet(pkt,true);

changed the acket address and command is changed to a new command which is
just the a request.

inv_pkt->setAddr(inv_pkt,temp);
        inv_pkt->cmd=MemCmd::ReqMove;

On Wed, Apr 6, 2011 at 5:15 PM, Nilay Vaish <[email protected]> wrote:

> On Wed, 6 Apr 2011, sunitha p wrote:
>
>  Hi all,
>>
>> I added  a new command with just the request attribute. But if i try to
>> run
>> for 100million instructions  i am getting the following error. am using
>> spec2006 bench marks
>>
>>
>> terminate called after throwing an instance of 'std::bad_alloc'
>>  what():  std::bad_alloc
>> Program aborted at cycle 11199095000
>> Aborted
>>
>> even i checked the benchmarks html...dey suggest to run on 64 bit
>> machine..But even on it..am geting the same error.
>> can anyone please tell..wat is this error and why?
>>
>> --
>> Thanks & Regards
>>
>> Sunitha.P
>> 9092892876
>>
>>
> Are you using malloc and / or new to allocate memory dynamically?
>
> --
> Nilay
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>



-- 
Thanks & Regards

Sunitha.P
9092892876
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to