Skip to content

Commit

Permalink
Merge branch 'master' of github.com:djgroen/flee
Browse files Browse the repository at this point in the history
  • Loading branch information
djgroen committed Oct 20, 2023
2 parents 29ee21b + d5f0959 commit f5d49da
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/FabFlee_Automated_Flee_based_simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,14 @@ When running this script, you can expect the following type of visualisation to

1. To run a `pflee` simulation and generate profile traces, you can add the argument `profile=True` to the end of your FabSim3 command.

2. After you have fetched the results using `fabsim localhost fetch_results`, you can then visualize the profile trace using the command: `fabsim localhost plot_flee_profile:<results_dir>`
2. After you have fetched the results using `fabsim localhost fetch_results`, you can then visualize the profile trace using the command: `fabsim localhost plot_flee_profile:<results_dir>,profiler=<profiler_choice>`

Replace <results_dir> with the name of the directory containing your simulation results.
<profiler_choice> can be either gprof2dot or snakeviz to select the profiling tool. Choose gprof2dot for the default profiler or snakeviz for an alternative visualization.

Note: The snakeviz option requires the snakeviz Python module. Ensure it's installed to use this profiler.

This command may also require the graphviz Python3 module, as well as the eog module for automated image display.

Make sure you have the required modules installed, depending on your choice of profiler.

This latter command requires the `graphviz` and `gprof2dot` Python3 modules, as well as the `eog` module for automated image display.

0 comments on commit f5d49da

Please sign in to comment.