Hello

Thanks. let me be more clear.I want to pass ROI_start_tick to a class in
cache_impl.hh during simulation. For example,
If( curTick()==ROI_start_tick){
//do something//
}

I know that gem5 will print the tick number when create checkpoint. But I
don't want first to find out checkpoint number then put it into my code and
then compile it. I was wandering if there is a parameter like
ROI_start_tick in gem5 that I can pass it to a class inside cache_impl.hh

Regards,
Hamid



On Fri, Apr 18, 2014 at 5:47 PM, Ali Saidi <[email protected]> wrote:

> I’m not sure I understand? gem5 will print the tick number when the
> checkpoint is generated.
>
> Ali
>
> On Apr 18, 2014, at 1:29 PM, Seyedhamidreza Motaman <[email protected]>
> wrote:
>
> Hello Ali
>
> Thanks for your answer. Is there any function or parameter in the code
> which can give me checkpoint tick number?
>
> Regards,
> Hamid
>
>
> On Fri, Apr 18, 2014 at 10:07 AM, Ali Saidi <[email protected]> wrote:
>
>> You can implement a parsec hook library with the m5op (E.g. m5
>> checkpoint) and you’ll get the tick when the checkpoint is created.
>> Ali
>>
>> On Apr 17, 2014, at 10:56 PM, Seyedhamidreza Motaman <
>> [email protected]> wrote:
>>
>> Hello All,
>>
>> I would really appreciate if someone answer my question. I really need
>> that. How can I access number of tick when ROI starts in parsec benchmark
>> somewhere in the code.
>>
>> Best Regards,
>>
>>
>> On Thu, Apr 17, 2014 at 11:55 PM, Seyedhamidreza Motaman <
>> [email protected]> wrote:
>>
>>> Hello All,
>>>
>>> I would if someone answer my question. I really need that. How can I
>>> access number of tick when ROI starts in parsec benchmark somewhere in the
>>> code.
>>>
>>> Best Regards,
>>>
>>>
>>>
>>> On Tue, Apr 15, 2014 at 7:56 PM, Seyedhamidreza Motaman <
>>> [email protected]> wrote:
>>>
>>>> Hell All
>>>>
>>>> How can I pass the tick number when ROI of a benchmark start
>>>> simulating  to a function inside the cache_impl.hh ??
>>>>
>>>> Thanks for your help
>>>>
>>>> Hamid
>>>>
>>>
>>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to