locked
PerformanceCounters refresh rate ? RRS feed

  • Question

  • I did once ask on this forum about the PerformanceCounters specification. I would like to know what refresh rate can be expected for those performance counters? (note: the refresh rate may vary from one counter to another. In such case, the refresh rate would be counter-specific).

    In particular, I am especially interested with the refresh rate of the Memory performance counter.

    Thanks in advance,
    Joannes


    Friday, September 23, 2005 10:23 AM

Answers

  • I don't think there is such thing as a "refresh rate" for performance counters.  Counter values will typically get updated as needed; in the case of Memory counters, that might mean when memory is allocated or freed.  So the refresh rate would depend on the activity of the app you're monitoring.

    It is recommended that you only read from perf counters at most about every second, but that isn't because of any refresh rate issues that I know of.
    David

    Thursday, September 29, 2005 4:37 PM