Make Road's transportCapacity attribute a real number
#746
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-latest | |
| steps: | |
| - name: Install tools manually | |
| run: sudo apt update && sudo apt install libtbb-dev | |
| - uses: actions/checkout@v4 | |
| - name: Install valgrind | |
| run: sudo apt update && 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.* |