Profiler that supports .NET compact framework

A

Amit Chopra

I saw a previous thread on this issue at

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=uHGLNDyG
DHA.336%40tk2msftngp13.phx.gbl&rnum=1&prev=/groups%3Fq%3Dprofiler%2Bgroup:mi
crosoft.public.dotnet.framework.compactframework%26hl%3Den%26lr%3D%26ie%3DUT
F-8%26oe%3DUTF-8%26group%3Dmicrosoft.public.dotnet.framework.compactframewor
k%26selm%3DuHGLNDyGDHA.336%2540tk2msftngp13.phx.gbl%26rnum%3D1

Thanks

--------------------
Content-Class: urn:content-classes:message
From: "GregA" <[email protected]>
Sender: "GregA" <[email protected]>
Subject: Profiler that supports .NET compact framework
Date: Fri, 3 Oct 2003 10:38:29 -0700
Lines: 2
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOJ1ShUjvhSr4cPQ3SKNKw7DW06Kw==
Newsgroups: microsoft.public.dotnet.framework.compactframework
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.compactframework:35095
NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

Is there any profiler available that will work with
the .net compact framework


Amit Chopra
Visual Studio for Devices
Microsoft Corp.
 
G

Geoff Schwab [MSFT]

Hi Greg,

Have you looked into the performance counters?

Performance counters are created by modifying the device's registry.

1. Create the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\PerfMonitor
2. Create a DWORD type value within this key named Counters.
3. Set the value of Counters to 1 to enable performance counters or 0 to
disable them.

Enabling performance counters will create a text file named "mscoree.stat"
when the application is closed. This file can be found in the root
directory of the device. It is a "fixed width" delimited file so importing
to Excel is straightforward.

Note: Only one managed application can be running during profiling.
Note: There is a 30% performance slowdown when counters are used.

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility

This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Geoff Schwab [MSFT]

Hi Greg,

Have you looked into the performance counters?

Performance counters are created by modifying the device's registry.

1. Create the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETCompactFramework\PerfMonitor
2. Create a DWORD type value within this key named Counters.
3. Set the value of Counters to 1 to enable performance counters or 0 to
disable them.

Enabling performance counters will create a text file named "mscoree.stat"
when the application is closed. This file can be found in the root
directory of the device. It is a "fixed width" delimited file so importing
to Excel is straightforward.

Note: Only one managed application can be running during profiling.
Note: There is a 30% performance slowdown when counters are used.

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility

This posting is provided "AS IS" with no warranties, and confers no rights.
 
T

Trollpower

Ive got a questione regarding the registry? How do i modify the
registry on a pocket pc 2002? I cant find a regedit or somethng like
that.

Thanks in advance

Greets

Jens
 
G

Ginny Caughey [MVP]

Jens,

If you need to change the registry programmatically from the desktop, you
can use Rapi. There's example Rapi code on www.opennetcf.org in the
Communications section.
 
G

Geoff Schwab [MSFT]

Hi Trollpower,

Visual Studio .NET does not ship with a remote registry editor for Windows
CE. To set the registry key can use one of the following:

Microsoft Embedded Visual Tools Remote Registry Editor
Microsoft Windows CE Platform Builder Remote Registry Editor
PHM Pocket PC Registry Editor (Shareware, can be found easily on the web)
Any other registry editor of your choice

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility

This posting is provided "AS IS" with no warranties, and confers no rights.
 
T

Trollpower

Thanks for your reply. I took the PHM Editor, which works great for me. Thanks again

Greets

Jens
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top