rust-analyzer/crates/ra_prof/src
Michal Terepeta e8acf49088 Fix a corner case when printing unaccounted time
Previously `ra_prof` wouldn't actually print the unaccounted time in
some cases.

We would print, for instance, this:
```
    5ms - foo
        2ms - bar
```
instead of:
```
    5ms - foo
        2ms - bar
        3ms - ???
```

The fix is to properly handle the case when an entry has 0 children
instead of using the `last` variable.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
2020-01-19 18:34:40 +01:00
..
google_cpu_profiler.rs Remove cpuprofile dependencies 2019-08-17 15:29:57 +03:00
lib.rs Fix a corner case when printing unaccounted time 2020-01-19 18:34:40 +01:00
memory_usage.rs Even if jemalloc feature is used do not use it on msvc 2019-11-14 11:47:18 -05:00