What i would like to achieve is to get an overview of performance in terms of my applications business domain (Think of a graph of my_operations per second, my_operations queue depth, my_operations for my_job_x(jobname), my_operations start-time, my_operation end-time, etc.)
Currently i find myself first graphing my business domain performance data and then in WPA try to find back where my business domain performance relates to the standard WPR generated performance data. It would be great if this could be combined in a single tool with a single overview.
In Windows 8, WPA will let you graph all of the events logged by your application in the Generic Events graph, which supports custom grouping and filtering of data as well as custom graphing based on what column you put right of the blue bar in its table. As long as you expose the necessary business metrics in your events you should be able to graph them.
Hope this helps, Michael
- Proposed as answer by Michael_MilirudOwner Monday, February 20, 2012 8:21 AM
Is there a document somewhere that can guide me through how to graph or even show any of the event data in WPA? The best I can get to is WPA recognizing the provider and event name but no user data can be shown or values graphed. Tracerpt is able to extract the event data ok. What am I missing?
same problem here:
Events are registered within a manifest file and recorded with xperf.
XPerfView is able to show me something like this:
<Event MSec= "1761,9254" PID="4612" PName= "(4612)" TID="13288" EventName="None"
TimeStamp="17:54:37.101920" ID="4001" Version="1" Keywords="-9223372036854775808"
Level="Always" ProviderName="MyHMI" ProviderGuid="c1a78d40-eece-4c2e-55e6-bdabd555ae23" ClassicProvider="False"
Opcode="0" Task="Default" PointerSize="4">
<Property Name="GroupName" Type="String" Value="AnyGroupName">
0: 53 0 75 0 73 0 70 0 | 65 0 6e 0 64 0 47 0 A.n.y.G.R.o.u.p.
10: 72 0 6f 0 75 0 70 0 | 4d 0 65 0 6d 0 62 0 r.o.u.p. A.N.E.
20: 65 0 72 0 73 0 28 0 | 29 0 0 0 e.r.s.(. )...
How can i access these properties with WPA?
I am having similar issues. The data is definitely present in the trace however I have the following issues:
- Provide Name is the GUID
- The event id is displayed but the opcode, task and event name are missing
- Can't see the event data (payload).
Do you need to author a .wprp profile?
Ok we seemed to have figured this out. You have to run "xperf -merge" on the etl file first. The command merges the manifest information with the etl file.
For example "xperf -merge session.etl session_merged.etl"
If you open the merged file in wpa the information expected appears in the Generic Trace
- Proposed as answer by Bobofet 2 Wednesday, December 04, 2013 2:21 PM
I have custom events showing up in the Generic Events graph, but I cannot graph them. I have a field which contains a float (frame duration in ms) but when I put that column to the right of the blue bar the graph just says "The table column arrangement is invalid for graphing".
If I go into the View Editor I notice that the Aggregation options for my custom field are restricted to None, Count, or Unique Count, whereas many of the built-in columns have aggregation options such as Min, Max, Sum, and Average.
Being able to graph framerate would be great. Right now I can get a diamond to appear for each frame event, but I cannot graph the duration, which makes it more difficult to see small or brief variations in frame rate without zooming way in.
I am using the 8.1 version of WPA.
I know this is a dead thread, but just in case people need help figuring this out I thought I post this out. In order to show custom events in WPA graphs you need to:
1. Drag and drop the column of the values you want to plot to the right of the blue bar.
2. Drag and drop the "Time" column to the left side of the blue bar. You must have only the custom field column on the right side of the blue bar. WPA will automatically plot based on event time values.
3. The message about column arrangement should be gone now. In case you don't see anything plotted you need to select an aggregation mode. The aggregation mode is used to compute values when zoomed out and multiple event points overlap in the graphic (e.g. if you have 10 frames overlapping you usually want the maximum or the average value to be used for plotting).