TFPROF(1) | General Commands Manual | TFPROF(1) |
tfprof - profile a Taskflow program
tfprof [options]
tfprof is a program that visualises and profiles programs compiled using Taskflow. The program should be compiled using cmake with the option -D TF_BUILD_PROFILER=ON, and then run with an environment variable specifying the profile data output file, for example under the build directory:
$ cmake ../ -D TF_BUILD_PROFILER=ON
$ make
$ TF_ENABLE_PROFILER=my_taskflow.tfp ./my_taskflow
The profiler is then run to visualise the output, for example
$ tfprof --input my_taskflow.tfp
and the results can be seen at http://localhost:8080/
The Taskflow system is documented fully in the documentation, available in the taskflow-doc package on Debian systems or online at https://taskflow.github.io/taskflow/index.html
February 22 2024 |