Add readme

This commit is contained in:
2022-04-29 08:46:41 +02:00
parent 9ea37507a7
commit bf33a8b06c

18
README.md Normal file
View File

@@ -0,0 +1,18 @@
## Usage
```
mkdir build
cd build
cmake .. -DDynamoRIO_DIR=[path to directory that contains DynamoRIOConfig.cmake]
ccmake . # Optional: configure build options
cmake --build . -j$(nproc)
```
The `dram_tracer_launcher` is an offline tool that operates on DrCacheSim trace files:
```
./dram_tracer_launcher -trace_dir [path to trace directory]
```
For online usage (needed for physical address conversion), the tool has to be integrated into the DrCacheSim source code. A DynamoRIO fork is provided.
To trace an application run the following command in the DynamoRIO build directory:
```
sudo ./drrun -t drcachesim -simulator_type dram_tracer -use_physical -- [application]
```
System priviledges are needed for the physical address conversion.