diff options
author | Michal Terepeta <[email protected]> | 2020-01-11 18:09:31 +0000 |
---|---|---|
committer | Michal Terepeta <[email protected]> | 2020-01-19 17:34:40 +0000 |
commit | e8acf49088f90d8d4439c4034696bc4e5f8b4ed9 (patch) | |
tree | c88da3a3b0aa95f16c5a82c7c43f75c72792ab78 /editors | |
parent | 3a7724e44181ccd5c248589538bd82458b5a9407 (diff) |
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 <[email protected]>
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions