Use gem5 stats file to find data hazard in code #1889
-
I am new and using gem5 for last few days. I am trying to execute the following code and it works fine. It also generate the stats file for the most recent execution. In this code a data hazard is present as result1 variable is dependent on operation 1 while it is being used in operation 2. #include <stdio.h> I want to identify that data hazard occurrence in the code from the stats file generated by gem5. Some references suggest to look at the following values from the gem5 stats file. But when I open my stats file I could not find the values in the stats file. The general CPU model was selected |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Maybe you want to use the O3CPU or the MinorCPU. This slide deck from the bootcamp may be helpful: https://bootcamp.gem5.org/#02-Using-gem5/04-cores. The video is available here: https://www.youtube.com/watch?v=vfj0-n6JQOE&list=PL_hVbFs_loVR_8ntTTmmG6YEq3Po_4snu&index=7 |
Beta Was this translation helpful? Give feedback.
Maybe you want to use the O3CPU or the MinorCPU. This slide deck from the bootcamp may be helpful: https://bootcamp.gem5.org/#02-Using-gem5/04-cores. The video is available here: https://www.youtube.com/watch?v=vfj0-n6JQOE&list=PL_hVbFs_loVR_8ntTTmmG6YEq3Po_4snu&index=7