FUNCTION:GETTICKCOUNT

last edited byusericongef on 03-Oct-2011

Contents

getTickCount

Description

Returns the number of milliseconds since the start of the application server

Usage Syntax

getTickCount([string unit]): number

Return Information

Return Type
number

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.

Name Type Required Description
unit string No base unit for the function, valid values are:
- nano: nano seconds
- milli (default): milli seconds
- second: seconds

History

Railo 3.3: Prior to Railo 3.3, it was only possible to measure milliseconds with getTickCount(). Adding the additional argument unit allows you to define how granular the returned information should be. Valid values are nano, milli (default) and second.

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word