You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For convenience, some additional makefile targets are provided:
21
38
```sh
22
-
make debug INPUT=<INPUT_FILE>
39
+
make run INPUT=<INPUT_FILE> NUM_THREADS=<NUM_THREADS>
23
40
```
24
41
25
-
## Trace Generation
42
+
This combines building and running together. Witness generation, however, is disabled for speed. Modify the makefile as needed.
26
43
27
-
The chosen format for an event is an `uint64_t` as follows:
28
-
- 4 bits event identifier
29
-
- 8 bits thread identifier
30
-
- 20 bits variable
31
-
32
-
This project reads and parses traces from a binary file where each event is represented using the above format.
33
44
34
-
For convenience, scripts are provided to convert human-readable as well as STD format to the binary format expected. Use one of `make gen_from_std_trace` to convert to human-readable format and `make gen_traces` to convert from human-readable format to the required binary file.
45
+
## Trace Format
46
+
~enumerate_race_detection~ support the following events:
47
+
- Read/Write
48
+
- Acquire/Release
49
+
- Begin/End
50
+
- Fork/Join
51
+
52
+
Each event are represented using 64 bits: 4 bits event identifier, 8 bits thread identifier, 20 bits variable dentifer, 32 bits variable value.
53
+
54
+
Input traces are assumed to be binary files where each line consists of a 64 bit representing an event.
0 commit comments