Skip to content

profile command ​

Profile a declared case and map the profile to the project's procedures and source lines.

bash
fobis profile CASE [options]

How to use it, with examples: Verifying results, HPC and clusters.

All options ​

Arguments: NAME

OptionValueDefaultDescription
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--toolTEXTgprofgprof (time, sampled; -pg build), callgrind (instructions per function and source line, inlined code included; much slower) or nsys (GPU kernel and host-device transfer times mapped to the directives, Nsight Systems).
--topINTEGER15Routines, procedures and lines shown.
--runnerTEXTlocalWhere the programs run: local, or slurm (jobs submitted with sbatch; [scheduler] settings).
--jsonEmit structured JSON to stdout instead of human-readable output (useful for scripting / agents)