- Clone this repository.
- Have a
data/threads/functions.txt
, where each function name is on a separate line. The functions are indexed from 0, so the index of a function is one minus the line number. - Have
data/threads/thread.i.trace
, wherei
corresponds to the thread index (1, 2, 3, etc). The format of these files should be:{function index} \t {exit ? 1 : 0} \t {absolute time (ns)} \t {duration (ns)} \n
. - Build the pattern miner with
./gradlew build
.
To run the test, run ./gradlew test
.
To analyze the mined patterns, run gr run --args='analyze'