Multi-programmed workloads
Jump to navigation
Jump to search
In addition to simulating parallel applications in a Pin-based execution-driven mode, Sniper supports playing back instruction traces. One single-threaded trace can be fed into each simulated core. This allows for the simulation of multi-programmed workloads. Collecting and playing back traces were added in Sniper version 2.0.
Collecting traces
Make sure you have Sniper 2.0 or higher installed and compiled. Then use the record-trace
script to record a dynamic instruction trace of your single-threaded application:
~/sniper$ ./record-trace -o fft -- test/fft/fft -p1
This will create the file fft.sift
. Using the tool sift/siftdump
you can look at its contents:
./sift/siftdump fft.sift | less