microsoft / perfview

PerfView is a CPU and memory performance-analysis tool
http://channel9.msdn.com/Series/PerfView-Tutorial
MIT License
4.06k stars 695 forks source link

Event Counters Tooltips - Date/Time and Value #1013

Open felipepessoto opened 4 years ago

felipepessoto commented 4 years ago

The Event Counter visualization doesn't show the tooltip (like perfmon).

Would be much easier to analyze it if we had something like this: https://bl.ocks.org/Qizly/8f6ba236b79d9bb03a80

We also don't have the correct date/time. When using dotnet-trace, I'm not sure if we have the trace start datetime to calculate it.

Example:

image

felipepessoto commented 4 years ago

I'm working on it. But it need more tests, since it is the first time I use D3.

image

brianrob commented 4 years ago

@felipepessoto, pretty cool. Traces taken via dotnet-trace do have the start date and time in them. It's part of the initial header in the file, and is de-serialized here: https://github.com/microsoft/perfview/blob/0c7e80e04d9ccefad7eef3e0c675225905c86f44/src/TraceEvent/EventPipe/EventPipeEventSource.cs#L316-L327

felipepessoto commented 4 years ago

I'm afraid I won't be able to finish it. I'm focused on other projects in this moment, my apologies.