AmberBBV
How to install and use AmberBBV?
How to install and use BBVConvert?
A BBV file contains per interval and per basic block statistical information of each thread.
Each line represents an interval. After a T as the beginning flag, each line is divided into several word blocks in the format :B:N, each word block shows the number of instructions executed in this basic block during the current interval. B is the basic block ID and N is the number of instructions executed for this basic block. The basic block information is sorted in ascending order according to the block ID.
A typical line in BBV with interval 100:
T:1:34 :3:12 :4:54
AmberBBV is an extension of amber based on the amber external library, which is aimed to parse the trace file on the fly and generate BBV files for Basic Block Vectors.
When configuring the tracing for each thread, users can specify how many instructions to skip and how many to trace. It can record BBVs for multithreads, and users can configure threads separately.
How to install and use AmberBBV?
AmberBBV must be used along with amber.
Download amberbbv.tar, use tar -xvf amberbbv.tar to extract the files, go into the directory, and then "make"
tar -xvf amberbbv.tar
cd amberbbv
make
For the usage of AmberBBV, please refer to the AmberBBV User Manual.
BBVconverter converts a file with basic block vectors of smaller intervals into basic block vectors with larger intervals. Note that this process is not invertible.A BBV file with a larger interval cannot be converted into one with smaller intervals.
How to install and use BBVConvert?
Download bbvconvert.tar, use tar -xvf bbvconvert.tar to extract the files, and then compile it use gcc
tar -xvf bbvconvert.tar
cd bbvconvert
gcc -o bbvconvert bbparser.c bbtracker.c
To use BBVconvert:
bbvconvert [input_bbvfile] [output_bbvfile] output-inverval