-
Notifications
You must be signed in to change notification settings - Fork 716
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add public method converting from QPC timestamp into TraceEvent times…
…tamp. (#1442) * Add public method converting from QPC timestamp into TraceEvent TimeStamp. New events like ExecutionCheckpoint carries an EventPipe QPC timestamp that can be used to calculate time spans between interesting checkpoints and regular EventPipe events. In order to be able to compare times, EventPipeEventSource needs to expose method that can convert a QPC timestamp into a timestamp on same format as used by TraceEvent open up the ability to compare TraceEvent.TimeStamp with timestamps returned from EventPipeEventSource.QPCTimeToTimeStamp. * Add test. * Add baseline file. * Add parsing of ExecutionCheckpoint into ClrTraceEventParser. * Update test baseline.
- Loading branch information
1 parent
7da0b1c
commit 8a34d2d
Showing
5 changed files
with
148 additions
and
3 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
1 change: 1 addition & 0 deletions
1
...t.Tests/inputs/eventpipe-dotnetcore6.0-win-x64-executioncheckpoints.nettrace.baseline.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Microsoft-Windows-DotNETRuntimeRundown/ExecutionCheckpointRundown/ExecutionCheckpointDCEnd, 3, <Event MSec= "1753.7906" PID="9832" PName="Process(9832)" TID="25112" EventName="ExecutionCheckpointRundown/ExecutionCheckpointDCEnd" ClrInstanceID="9" Name="RuntimeInit" Timestamp="11,111,925,598,665"/> |
Binary file added
BIN
+556 Bytes
...TraceEvent.Tests/inputs/eventpipe-dotnetcore6.0-win-x64-executioncheckpoints.nettrace.zip
Binary file not shown.