robsize
                                
                                 robsize copied to clipboard
                                
                                    robsize copied to clipboard
                            
                            
                            
                        See: Microarchitecturometer
I made a Python→‘pure’ C version of this that doesn't use runtime code generation, because sometimes that's not kosher. It uses inline assembly, supports aarch64, and is fairly small.
https://github.com/Veedrac/microarchitecturometer
I made a Python→‘pure’ C version of this that doesn't use runtime code generation, because sometimes that's not kosher. It uses inline assembly, supports aarch64, and is fairly small.
Wow, this is really cool. I similarly had thought about removing the code generation aspect (since in uarch-bench, for example, I usually prefer explicit or macro-based code generation at compile time too), but hadn't done it. Thanks for the link and I may check it out in more detail at some point.
I am sorry on the long delayed reply, I simply missed the notification somehow.