https://github.com/flexrobotics/roboflex_profiler
Roboflex support for profiling roboflex robotics computation graphs.
https://github.com/flexrobotics/roboflex_profiler
profiler roboflex
Last synced: 4 months ago
JSON representation
Roboflex support for profiling roboflex robotics computation graphs.
- Host: GitHub
- URL: https://github.com/flexrobotics/roboflex_profiler
- Owner: flexrobotics
- License: mit
- Created: 2023-10-19T21:22:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-03T23:58:55.000Z (over 1 year ago)
- Last Synced: 2025-01-22T11:45:38.237Z (4 months ago)
- Topics: profiler, roboflex
- Language: C++
- Homepage: https://github.com/flexrobotics/roboflex_profiler
- Size: 85 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# roboflex.profiler
Roboflex Profiler has two parts:
1. The Profiler node. This node is intended to act as the root node of a computation graph. See metrics_central/examples/profile_graph.cpp, and examples/camera_follow/camera_follow.py for examples of how to us it. It brings two features:
1.1. When you call `start()` or `stop()` on this node, it will walk the computation graph and start or stop all RunnableNodes.
1.2. When you call `start(true)`, it will first inject a new MetricsNode between every two connected nodes. It will then drive publishing of Metrics information, which can be viewed with:
2. The MetricsCentral program. This program displays Metrics information for a running computation graph. Every row is a connection, and every column is some information about that connection, including frequency of invokation, latency, Bytes/sec, etc.
clone this repo
mkdir build && cd build
cmake ..
make... then find the 'metrics_central' program, and run it...
