Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug with handling of zero-duration operations
The code that handled conversion from `[]Operation` to `[]entry` sorted operations by time, but it didn't properly handle the case where there were multiple operations with zero duration (call timestamp equal to return timestamp) and the same timestamp, which can happen if the clock is not fine-grained enough. For a subset of entries where the timestamp is the same, the call entries need to be ordered before the return entries.
- Loading branch information
1 parent
0dc2d9b
commit 012101c
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters