Skip to content

Commit

Permalink
update traceConv doc
Browse files Browse the repository at this point in the history
  • Loading branch information
1a1a11a committed Nov 24, 2024
1 parent 8ab3ad8 commit 14e64cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/quickstart_traceUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ Convert a trace to oracleGeneral format so you can run it faster (10x speedup) u
# the first parameter is the input trace, the second parameter is trace type, the third parameter is the output trace path
./bin/traceConv ../data/cloudPhysicsIO.txt txt cloudPhysicsIO.oracleGeneral.bin
```
Note that the conversion supports all trace types including csv trace. Moreover, if the object id is numeric, add the option `-e obj_id_is_num=1` to the command line, which reduces memory usage.
Note that the conversion supports all trace types including csv trace. Moreover, if the object id is numeric, add the option `-t obj_id_is_num=1` to the command line, which reduces memory usage.

```
a trace using space as the delimiter and numeric object id
./bin/traceConv /disk/trace.csv csv -t "time-col=1,obj-id-col=2,obj-size-col=3,delimiter= ,obj-id-is-num=1"
```

We can also sample a trace to reduce the size of the trace.
```bash
Expand Down

0 comments on commit 14e64cc

Please sign in to comment.