Since different devices can have different clocks, this has to be done
with respect to the clock of a particular device.  For CPUs, there is
a tickToCycles() method that does what you want.

Steve

On Mon, Sep 21, 2009 at 3:45 PM, ef <[email protected]> wrote:
> Hello,
>
> From my understanding Ticks are independent of cpu clock cycle, I was
> wondering if their an easy way to normalize CurTicks to be expressed
> in terms of clock cycle. Are there functions or variables to do that?
> Like
> normalize(CurTick), or perhaps a parent-clock variable, where I can
> make my own functions.
>
> Thanks
> EF
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to