Commit 62d77d63 authored by Aggelos Giantsios's avatar Aggelos Giantsios

Instructions on how to run with threadscope

parent 067f0628
...@@ -34,7 +34,7 @@ Memory Profiling ...@@ -34,7 +34,7 @@ Memory Profiling
make prof make prof
``` ```
- Run the proper RTS options - Run with the proper RTS options
```bash ```bash
# Example: executing the 'long' benchmark # Example: executing the 'long' benchmark
./orbit +RTS -hd -p -RTS seq long 127.0.0.1 1555 ./orbit +RTS -hd -p -RTS seq long 127.0.0.1 1555
...@@ -45,6 +45,24 @@ Memory Profiling ...@@ -45,6 +45,24 @@ Memory Profiling
make prof-results make prof-results
``` ```
Profiling with Threadscope
--------------------------
- Compile with enabled event logging
```bash
make threadscope
```
- Run with the proper RTS options
```bash
# Example: executing the 'long' benchmark
./orbit +RTS -ls -RTS seq long 127.0.0.1 1555
```
- Open the report with threadscope
```bash
threadscope orbit.eventlog
```
Credits Credits
------- -------
Written by: Written by:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment