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 family