ESESC Sample Use
Checkout Code
Checkout the code from the git repository by executing the following command:
git clone ssh://mada0.cse.ucsc.edu/mada/server/git/esesc
Compile QEMU
QEMU is included as an emulation target for use with eSESC and it needs to be compiled in the esesc source directories in order to generate the libraries that esesc will link to. To do this execute the following commands:
cd esesc/emul/qemu ./configure --target-list=sparc-softmmu --enable-esesc --disable-vnc-sasl --disable-vnc-tls make
Compile eSESC
The next step is to compile eSESC. To do this execute the following series of commands:
cd ../../.. mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Debug ../esesc gmake
This will compile and build the eSESC executable files. Currently the rst emulation target is stable and can be used for sample runs of esesc
Sample run with RST emulation source
First copy the configuration file to the build directory
cp ../esesc/conf/esesc.conf .
Then check the configuration file to make sure that only the rst target is enabled and the qemu and gpu targets are commented out. The cpuemul targets should look something like:
cpuemul[0] = 'RSTSection' # 1 RST instance #cpuemul[1] = 'GPUSection' # 1 GPU instance #cpuemul[2] = 'QEMUSection' # 1 QEMU instance #cpuemul[2:4] = 'GPUSection1' # 3 GPU Instances
Copy the rst trace files to the build directory:
cp ../esesc/emul/conf/* .
Then run the coremain executable
simu/libcore/coremain
To view statistics run the report script:
../esesc/conf/report.pl --last