where is the perf stats registry key?

  • Thread starter Thread starter Carl
  • Start date Start date
C

Carl

Hi there,

Does anyone know the exact location of a registry key on Pocket PC 2002
that switches on logging of performance statistics for garbage
collection, object allocation etc of C#. I see this registry key
mentioned in the microsoft mobile developers conference in the
powerpoint doc (CLI421.ppt), but I can't find the path to this key anywhere.

Thanks in advance!
 
Here is a fragment of an earlier reply to this newsgroup:

============== BEGIN ==============
From: Scott Corbin [MS] ([email protected])
Subject: Re: Extracting CLR Perf data from the registry
Newsgroups: microsoft.public.dotnet.framework.compactframework
Date: 2003-06-13 16:17:50 PST

Here is an excerpt from a reply I posted a few months ago on this topic:

To enable perf counters, create a dword registry key called "Counters" in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\PerfMonitor"
and give it the value of 1. (Set it to 0 when you want to disable the perf
counters.) If you need a registry editor, there's one included in eVC.
There are also third party editors, or you can create a simple app that
sets the key (take a look at
http://www.innovativedss.com/forums/topic.asp?TOPIC_ID=103).

When the perf counters are enabled, a file called mscoree.stat will be
created in the root directory when your app terminates. It contains the
performance counter data. One of the lines in the file will be "GC Latency
Time", and it will show the number of times GC was run as well as the
mean/min/max times in milliseconds. Sorry about the crude way of getting
this info -- it was meant to be a simple way to expose some basic perf data.

I'm interested in your feedback on what you think of the perf counters, and
especially any additional counters you'd like to see added.

Thanks,
Scott Corbin
.NET Compact Framework
Microsoft Corporation
============== END ==============

Thanks,
Pavel Treskunov
..NET Compact Framework
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
 
Back
Top