Using the Pin Instrumentation Tool for Computer Architecture Research