-
Is there any counter available to see the number of stalls or flushes during the code execution? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @lcaimi Ripes/src/processors/interface/ripesprocessor.h Lines 208 to 217 in fe4b16e |
Beta Was this translation helpful? Give feedback.
-
I saw that the StageInfo struct maintains the current state of each stage. I believe this information could be used to count stalls and flushes. Ripes/src/processors/interface/ripesprocessor.h Lines 19 to 29 in fe4b16e I am not able to implement the functionality. I will create an issue for future implementation. Thanks |
Beta Was this translation helpful? Give feedback.
Hi @lcaimi
Nope! no such counter is currently implemented. But i think it could be a good project for starting to get into Ripes development, or you could raise an issue as a feature request for it.
For inspiration, if looking at these two functions, one should be able to follow all the way from how the statistics are registerred inside the processor model, to them being displayed in the UI.
Ripes/src/processors/interface/ripesprocessor.h
Lines 208 to 217 in fe4b16e