MMotor OS
Developing

Profiling

Most standard profilers do not work with Motor OS yet, but a Motor OS program can be instrumented with the tracing crate and its trace turned into a flame graph on the host, which is enough to find, for example, the causes of high CPU contention.

Instrument the code

Collect and visualize

profile.svg is the CPU profile flame graph. profile.folded is a text file; you may need to edit it by hand or adjust inferno's options to make the graph readable.