Skip to content

Enhance OSM getter script #546

Enhance OSM getter script

Enhance OSM getter script #546

name: Profile the execution time 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@v4
- name: Build test simulation
working-directory: ${{github.workspace}}/profiling
run: cmake -B build && make -C build
- name: Generate the gprof file and re-run
working-directory: ${{github.workspace}}/profiling
run: |
./prof.out
gprof -b ./prof.out