Hi John, The clock domain object should do this conversion for you. If you set a clock to 1 GHz, then when you use "Cycle" in that object it will be converted to 1000 ticks (assuming then normal tick rate of 1ps). Most objects are a "ClockedObject"
Cheers, Jason On Fri, Jul 24, 2020 at 2:41 PM John Domingo via gem5-dev <gem5-dev@gem5.org> wrote: > Hello Everyone, > > How can I convert ticks to cycles for the CPU, GPU, Memory, Garnet NoC etc. > How are these values set in Gem5 ? > > Thank you, > John Domingo > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link> > <#m_8866858317461354833_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > gem5-dev mailing list -- gem5-dev@gem5.org > To unsubscribe send an email to gem5-dev-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-dev mailing list -- gem5-dev@gem5.org To unsubscribe send an email to gem5-dev-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s