Pin Tool already has many inbuilt examples. Be sure to check before resorting to writing your own tool. 😉 Having read this blog post you will be able to create your own tool to count the number of branches. You will also be able to learn the fundamentals that you would need to do any … Continue reading Branch Count using Intel Pin Tool
Tag: research
Intel Pin Tool; Setting up in 5 easy steps
This is the beginning of the Intel Pin Tool Series. Having read this post, you will be able to set up Intel pin tool and run a basic example to count the number of instructions in your program. Step 1 Download the pin tool from Intel (https://software.intel.com/en-us/articles/pin-a-binary-instrumentation-tool-downloads). Select the appropriate operating system and copy the … Continue reading Intel Pin Tool; Setting up in 5 easy steps
Add Matplotlib Percentage Ticks to a Histogram
Matplotlib provides an easy way of converting your yaxis to percentages. It's just a one liner import matplotlib.ticker as ticker ax.yaxis.set_major_formatter(ticker.PercentFormatter(xmax)) But the issue is you can't space the yticks as you want them to be. Usually you can do this by setting yticks (ax.set_yticks). But the issue is, python converts the axis directly to … Continue reading Add Matplotlib Percentage Ticks to a Histogram