Commit Graph

6 Commits

Author SHA1 Message Date
527ad1476c cpu-visualizer: reset colors upon new reader
We want to reset our colors so that we look the same on
subsequent loads, which is what the user would expect.
2016-09-28 14:09:53 -07:00
4953731dd7 cpu-visualizer-row: choose color for row
For each CPU counter we come across, choose a new color from
the cycle.
2016-09-27 19:18:40 -07:00
ad130db3d6 cpu-visualizer-row: hide if no counters were found
If we failed to locate any counters, then there isn't much we
can show the user here. So just hide the row.
2016-09-27 16:44:23 -07:00
321fc18eee cpu-visualizer-row: stop after locating counters
In practice, we do a single counter definition for the CPU
definitions. So we can stop iterating the samples after we
successfully locate an item.
2016-09-26 22:14:44 -07:00
e537b84c29 cpu-visualizer: remove prepare vfunc
This is going away, at least in this form.
2016-09-26 17:37:59 -07:00
3b9ea07d31 cpu: discover cpu counters from SpCaptureReader
This allows us to dynamically discover the cpu counters from the
capture by looking for the "CPU Total" category.
2016-09-25 12:19:53 -07:00