Top "Performancecounter" questions

PerformanceCounters are indicators for how much work a program does.

How to use AverageTimer32 and AverageBase performance counters with System.Diagnostics.Stopwatch?

When I execute the following program and look at the performance counter the results don't make sense to me. The …

c# .net performancecounter
Is there anyway to read performance counters on OS X Mountain Lion?

Shark, Apple's profiler which let you configure custom performance counters, is no longer supported in OSX Mountain Lion since it …

xcode performance macos instruments performancecounter
Exception: Instance 'Name of instance' does not exist in the specified Category

When I create and use performance counters like this: private readonly PerformanceCounter _cpuPerformanceCounter; public ProcessViewModel(Process process) { _cpuPerformanceCounter = new PerformanceCounter("…

c# exception performancecounter
How to map Win32 types to C# types when using P/Invoke?

I am trying to do something like this in C#. I found out how to call Win32 methods from C# …

c# winapi pinvoke performancecounter
How to get CPU usage for more than 2 cores?

I try to get in my program CPU usage divided by a cores. Now I use the PerformanceCounter and changing …

c# cpu-usage performancecounter
How to determine total size of ASP.Net cache?

I'm using the ASP.net cache in a web project, and I'm writing a "status" page for it which shows …

c# asp.net caching performancecounter
How to work with Performance counters and WCF service in IIS?

Hi, I have a WCF service in IIS7 that communicates with a winform application over TCP(WAS), now I need …

.net wcf performance iis performancecounter
How to read performance counters on i5, i7 CPUs

Modern CPUs have quite a lot of performance counters - http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32…

cpu intel performancecounter
Performance improvement Calculation mumbo jumbo

Well the other day I improved the performance of a particualr piece of code from 34sec to 2 sec and I …

performance performancecounter performance-testing
corrupted performance counters?

Preformance counters are EVIL. don't use them. if(PerformanceCounterCategory.Exists("ILoveYou") ) // is true { PerformanceCounterCategory.Delete("ILoveYou"); //throws exception The **configuration …

c# .net performancecounter