Function stperf::print [] [src]

pub fn print()

Prints out the data gathered by the profiler. Uses format::STREAMLINED as the default 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