My cmd is ./build/ARM/gem5.opt --debug-flags=Exec configs/example/se.py --cpu-type=TimingSimpleCPU -c "/mnt/root/stream" --caches --cpu-clock="2GHz"
The Exec debug output: 3558000: system.cpu: T0 : @strlen+36 : bics x4, x4, x5 : IntAlu : D=0x0000000000000000 83559000: system.cpu: T0 : @strlen+40 : bic x5, x6, x7 : IntAlu : D=0x8080808080800000 83560000: system.cpu: T0 : @strlen+44 : ccmp x5, #0, #0, eq : IntAlu : D=0x0000000000000000 83561000: system.cpu: T0 : @strlen+48 : b.eq <strlen+80> : IntAlu : 83562000: system.cpu: T0 : @strlen+52 : csel x4, x4, x5, cc : IntAlu : D=0x8080808080808000 83563000: system.cpu: T0 : @strlen+56 : movz x0, #8, #0 : IntAlu : D=0x0000000000000008 83564000: system.cpu: T0 : @strlen+60 : rev x4, x4 : IntAlu : D=0x0080808080808080 83565000: system.cpu: T0 : @strlen+64 : clz x4, x4 : IntAlu : D=0x0000000000000008 83566000: system.cpu: T0 : @strlen+68 : csel x0, xzr, x0, cc : IntAlu : D=0x0000000000000000 83567000: system.cpu: T0 : @strlen+72 : add x0, x0, x4, LSR #3 : IntAlu : D=0x0000000000000001 1 instrution need 1000 ticks, it means that 1 instrution need 2 cycles, ipc is 0.5. Is it correct? 发件人: Bobby Bruce [mailto:bbr...@ucdavis.edu] 发送时间: 2021年4月27日 12:55 收件人: gem5 users mailing list <gem5-users@gem5.org> 抄送: Liyichao <liyic...@huawei.com> 主题: Re: [gem5-users] TimingCPU's IPC Could you give a bit more info about your configuration here? To be honest, it looks like the CPU is just running at 1GHz instead of 2. Is that possible? -- Dr. Bobby R. Bruce Room 2235, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net On Fri, Apr 23, 2021 at 3:52 AM Liyichao via gem5-users <gem5-users@gem5.org<mailto:gem5-users@gem5.org>> wrote: Hi All: As I know, Atomic or Timing CPU’s IPC is 1 IPC, but when I test a program in SE mode with –debug-flags=Exec, in the debug output file, I find that one instruction’s tick is incremented by 1000, my cpu frequency is 2 GHz. Does that mean that the IPC is 0.5(cycle=1000/500)? Is the 1IPC is calculated under 1GHz? _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-le...@gem5.org<mailto:gem5-users-le...@gem5.org> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s