NextValue() should always be suffecient. NextValue infact always calls
CounterSample.Calculate to do the calculation.
Let me know if you have any additional questions.
Ryan Byington [MS]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
| Content-Class: urn:content-classes:message
| From: "Krishna" <
[email protected]>
| Sender: "Krishna" <
[email protected]>
| Subject: CounterSample class
| Date: Wed, 7 Jan 2004 22:25:44 -0800
| Lines: 5
| 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: AcPVsD8yY/HbIx1zSGSOGbsLzL6Lvg==
| Newsgroups: microsoft.public.dotnet.framework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework:62035
| NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.framework
|
| Can some body tell me the list of performance counter
| types that require CounterSample class Calculate method
| for measuring performance values? Timer100NsInverse is
| one of them. Are there any other counter types?
| Thanks,
|