Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Performance counter question

Performance counter question

Scheduled Pinned Locked Moved .NET (Core and Framework)
performancequestioncsharptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bankai123
    wrote on last edited by
    #1

    Hi, I'm using the Windows Performance Counter to monitor my .NET application and to diagnose some memory leak problems. The two counters I'm particuarly interested in are "Working Set" and "Private Bytes". However I'm not sure what scale to use for both? Currently the scale is set at 0.00001 by default. I'm not sure what units this is measured in so can someone guide me to what scale to measure at? Thanks

    D 1 Reply Last reply
    0
    • B bankai123

      Hi, I'm using the Windows Performance Counter to monitor my .NET application and to diagnose some memory leak problems. The two counters I'm particuarly interested in are "Working Set" and "Private Bytes". However I'm not sure what scale to use for both? Currently the scale is set at 0.00001 by default. I'm not sure what units this is measured in so can someone guide me to what scale to measure at? Thanks

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      It says right in the title of the Counter - Bytes. The scale is just there to get the counter values to fit into the range of 0-100. So 30,000,000 bytes multiplied by a scale of .000001 would give to 30, the bottom of the graph being 0 and the top 100,000,000.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups