-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#2039 trace trim, part 4: Clamp timestamps
Moves the timestamp+cpu headers to be added at buffer creation time instead of at buffer output time. Makes instru_t::frozen_timestamp_ use release-acquire semantics and sets it for -align_endpoints at detach time. Adds a 'minimum timestamp' recorded at post-attach time. At buffer output time, we examine the buffer's timestamp and if it was from before the minimum, we replace it with the current (not the minimum) timestamp. Tested on a large app where these changes result in much tighter timestamps matching the burst period. Issue: #2039
- Loading branch information
1 parent
df5ab9f
commit 8f2123b
Showing
6 changed files
with
103 additions
and
40 deletions.
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
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
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