Reputation: 1037
I'm currently using the PeformanceCounter Increment method. If I call this on every event will the PeformanceCounter framework calc the events per second? Or I have have to write the code to do this? If so does anyone have any examples?
Thanks
Upvotes: 3
Views: 1560
Reputation: 1038770
You need to define multiple counters: number of operations, average time per operation and average time per operation base. Here's a nice article that should help you get started.
Upvotes: 5