Hi, I'm running SPEC2017 benchmark in full-system mode using
the configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py config
file.

In the outputs m5/stats.txt, there's no system.cpu.cpi metric mentioned.
So, to calculate the CPI, I tried dividing
board.processor.switch0.core.numCycles
by
board.processor.switch0.core.exec_context.thread_0.numInsts. But it results
in a large number (~10) which I don't think is the correct way to calculate
CPI. Could anyone tell me what is the correct way to calculate the CPI
based on the stats.txt results?

Thanks,
Farbin.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to