Performance Counter implementation - V1 versus V2 RRS feed

  • Question

  • I'm trying to understand the pro's and con's of using V2 performance counters over V1, as desribed here - https://msdn.microsoft.com/en-us/library/windows/desktop/aa373165(v=vs.85).aspx.

    My application currently provides performance counter data through the V1 implementation. There have been various issues with performance counters becoming corrupt or inaccessible, usually as a result of a corruption in the registry (not from my application). The issues can largely be understood and fixed based on information here - https://support.microsoft.com/en-us/kb/300956.

    More specifically than a pro/con list, based on my limited understanding, it seems like a bad V1 implementation can potentially corrupt the registry more easily than a V2 implementation. Is that true? Does using the V2 implementation mitigate issues of performance counter data being inaccessible if the performance counter registry keys (Perflib or Perflib\009 keys) becomes corrupted?

    Tuesday, January 17, 2017 3:28 PM

All replies

  • please contact Microsoft, Microsoft knows how to deal with the question that you have posted on the forum.
    Friday, February 10, 2017 4:34 AM