FCFL.NET Common Library - API Reference
GetPerfDurationSecs Method

The number of ticks representing a point in time from which this duration started. See the GetPerfTimer Method for more information on how to obtain a valid tick count value
Returns the number of seconds that have elapsed since a specified time
Syntax
'Declaration
 
Public Shared Function GetPerfDurationSecs( _
   ByVal startTicks As Long _
) As Decimal
public static decimal GetPerfDurationSecs( 
   long startTicks
)

Parameters

startTicks
The number of ticks representing a point in time from which this duration started. See the GetPerfTimer Method for more information on how to obtain a valid tick count value

Return Value

The number of seconds (or fraction of seconds) that have elapsed since the moment in time represented by the startTicks parameter.

See the GetPerfTimer Method for more information on how to obtain a valid tick count value.

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.