Thursday, August 12, 2004

The managed API for the windows performance counters is great.  It was just what I needed to track down some memory issues at work, and now I've got real-time information about what's going on.  It's much simpler than trying to use them with the old school api.  However, I need some more guidance on the usage pattern for creating and deleting the categories and counter definitions.  Are those things that should be part of an install/uninstall procedure, or should they be done on startup/exit of the program?  What kind of overhead should I expect in constructing/incrementing/disposing them?  The counters implement IDisposable, which makes me want to dispose them quickly.

Maybe some spelunking with the Reflector will shed some light.  I'll keep you posted.  In the meantime, feel free to share your experiences with performance counters in the CLR.

[Update] Duh.  I ran across System.Diagnostics.PerformanceCounterInstaller the other day.  Looks like that's how you should install them.  I love the installers as well.

posted on Thursday, August 12, 2004 10:59:44 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0]
Related posts:
LinqToStdf now on CodePlex
Image Slicer for Deep Zoom in Silverlight 2
Silverlight limitations and Constrained Callvirt in IL
What are the generic Delegates in the framework for?
What is System.__Canon and why is it on my stack?
Adding support for .ashx-based views in ASP.net MVC
Tracked by:
"nfl bowling bags" (nfl bowling bags) [Trackback]
"Pictures of Adderall" (Pictures of Adderall) [Trackback]
"xenadrine efx negative side effects" (xenadrine efx negative side effects) [Trackback]
"candle set spa gift basket" (candle set spa gift basket) [Trackback]
"Discover Card Services" (Discover Card Services) [Trackback]
"flagyl in breastfed baby" (flagyl in breastfed baby) [Trackback]
"virginia pilot" (virginia pilot) [Trackback]
"money money money" (money money money) [Trackback]
"Stories Wife Threesome" (Stories Wife Threesome) [Trackback]
"viking ships" (viking ships) [Trackback]
"Will Smith switch" (Will Smith switch) [Trackback]
"Hamster Care" (Hamster Care) [Trackback]
"cook crack cocaine in microwave" (cook crack cocaine in microwave) [Trackback]
"distance learning missouri university" (distance learning missouri university) [Trackback]
"Vinyl Stone Siding" (Vinyl Stone Siding) [Trackback]
"naked girls massages" (naked girls massages) [Trackback]
"sONGWRITER AND PERFORMER" (sONGWRITER AND PERFORMER) [Trackback]
"dunhill cufflinks" (dunhill cufflinks) [Trackback]
"oklahoma fraud examiner" (oklahoma fraud examiner) [Trackback]
"Infertility in women by Alayne .R MD." (Infertility in women by Alayne .R MD.... [Trackback]
"sunshine key rv resort florida camping" (sunshine key rv resort florida camping... [Trackback]
"Hostel Scotland" (Hostel Scotland) [Trackback]
"strategies for teaching listening" (strategies for teaching listening) [Trackback]
"Back seat bangers" (Back seat bangers) [Trackback]
"What Does Crab Grass Look like" (What Does Crab Grass Look like) [Trackback]
"diflucan and gas" (diflucan and gas) [Trackback]
"Kawasaki Concours" (Kawasaki Concours) [Trackback]
"ultram" (ultram) [Trackback]
"lodging in sedona arizona" (lodging in sedona arizona) [Trackback]
"wifi hotspot locations" (wifi hotspot locations) [Trackback]
"Francisco Goya" (Francisco Goya) [Trackback]
"Mercedes Benz parts" (Mercedes Benz parts) [Trackback]
"bass fishing central florida guide" (bass fishing central florida guide) [Trackback]
Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):