FCFL.NET Common Library - API Reference
GetPerfTimer Method

Gets the current value of the high-resolution performance counter
Syntax
'Declaration
 
Public Shared Function GetPerfTimer() As Long
public static long GetPerfTimer()

Return Value

A value representing the number of "ticks" since a specific time in history. The start time may vary from system to system and is only intended to be used from measuring from one recent instant in time to another recent instant in time with great accuracy for the purpose of timing the duration of operations in code.
Remarks

This method wraps the Win32 API function QueryPerformanceCounter.

For more information on instrumenting code to performing timing and performance testing, please see MSKB Article 172338 entitled "How to use QueryPerformanceCounter to Time Code."

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Reference

PerfManager Class
PerfManager Members

 

 


© 2010 Dovetail Software, Inc. - All rights reserved.
- Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
- .NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.

Send comments on this topic.