Function stperf::print_with_format
[−]
[src]
pub fn print_with_format(ops: FormattingOptions, decimals: usize)
Prints out the data gathered by the profiler using a given format.
Prints out something like this:
╶──┬╼ main - 100.0%, 300 ms/loop
├──┬╼ physics simulation - 66.7%, 200 ms/loop
│ ├───╼ moving things - 50.0%, 100 ms/loop
│ └───╼ resolving collisions - 50.0%, 100 ms/loop
└───╼ rendering - 33.3%, 100 ms/loop