-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement instruction usage histogram #34
Comments
The author of rv8 showed a neat technique to render histogram. See microsoft/mimalloc#529 |
register usage histogram generated by rv8. |
I imported the LRU cache in this commit, so maybe we can display cache information in the profiling tool, such as cache size, cache hit rate, cache miss rate, cache hit times of a specific basic block, and the PC of the basic block.
|
Check the way how mimalloc displays the internal information depending on environment variable |
It is feasible to reuse existing |
I try to integrate the existing map for LRU cache implementation, but the performance is worser than original version of LRU cache. Performance of running CoreMarkingMircoprocessor: Core i7-8700, Compiiler: gcc-12
|
rv64_emualtor comes with an ELF file instruction frequency analyzer. See rv_analyzer, which looks quite straightforward. |
This tool is designed for the static analysis of RV32 instruction usage in the target program. Specifically, it provides statistics on instruction frequency. Close #34
With the ability to record and print histograms, we can observe instruction frequency and print. Sample output:
Reference:
The text was updated successfully, but these errors were encountered: