How would I make the plotter slower?

Aug 7, 2009 at 12:31 PM


I'm tinkering with your PlotterSample. When I run it as is, it hogs all my processor cycles. I would like it to update less frequently so as to use less processor resources. I tried increasing the UpdateInterval in the PerfomanceDataSource. This does change how often data is requested from the performance counters, but the graph keeps speeding away at the same speed. How would I tell it to move slower (or faster for that matter)?

Aug 7, 2009 at 12:37 PM

never mind, I'm an idiot :(

I changed the value of the updateInterval variable, but didn't notice that that isn't used during the initialisation of timer...

Aug 8, 2009 at 4:57 PM

I'm glad you have done what you wanted)