Skip to content

Expose times array - #2027

Merged
Jiri Cincura ↹ (cincuranet) merged 3 commits into
microsoft:mainfrom
cshung:public/expose-times-array
May 2, 2024
Merged

Expose times array#2027
Jiri Cincura ↹ (cincuranet) merged 3 commits into
microsoft:mainfrom
cshung:public/expose-times-array

Conversation

@cshung

Copy link
Copy Markdown
Contributor

In .NET 6, Maoni Stephens (@Maoni0) introduced the GCGlobalHeapHistory_V4 in dotnet/runtime#55888 that expose some timing information for each phase of the GC and I did the parsing of it in #1758. It turns out just parsing it is not enough, we need to expose it as property on TraceGC in order to be consumed, so this PR expose that array.

Unfortunately, the compact time can often be wrong because a bug I fixed in dotnet/runtime#100599, practically that means for some traces, the compact time will be wrong (often seen as 0)

Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated
Comment thread src/TraceEvent/Computers/TraceManagedProcess.cs Outdated

@Maoni0 Maoni Stephens (Maoni0) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@cshung

Copy link
Copy Markdown
Contributor Author

Brian Robbins (@brianrob), this PR is ready.

@cincuranet
Jiri Cincura ↹ (cincuranet) merged commit 877bf41 into microsoft:main May 2, 2024
@cshung
Andrew Au (cshung) deleted the public/expose-times-array branch May 6, 2024 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants