Generalize weight used in dijkstra algorithm #465
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Profile the memory usage of a simulation | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| BUILD_TYPE: Release | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install valgrind | |
| run: sudo apt install -y valgrind | |
| - name: Build test simulation | |
| working-directory: ${{github.workspace}}/profiling | |
| run: cmake -B build && make -C build | |
| - name: Generate the massif file and print report | |
| working-directory: ${{github.workspace}}/profiling | |
| run: | | |
| valgrind --tool=massif ./mem.out | |
| ms_print ./massif.out.* | |
| - name: Get peak and integral of memory usage graph | |
| working-directory: ${{github.workspace}}/profiling | |
| run: ./parse_massif.out massif.out.* |