![](../icons/Help.png) | CSYSiGetTimer Method |
Return the elapsed time since the established time.
Available since Oasis montaj version: 6.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
1st time through call the method with a flag of 1 to identify
the count start time, subsequent times the time will be the time
elapsed since the queried start time. Do so by settign the flag to 0.
Syntaxpublic static int iGetTimer(
CGXNETCore gxNetShared,
int flag,
ref double start_time,
ref double elapsed_time
)
Public Shared Function iGetTimer (
gxNetShared As CGXNETCore,
flag As Integer,
ByRef start_time As Double,
ByRef elapsed_time As Double
) As Integer
public:
static int iGetTimer(
CGXNETCore^ gxNetShared,
int flag,
double% start_time,
double% elapsed_time
)
static member iGetTimer :
gxNetShared : CGXNETCore *
flag : int *
start_time : float byref *
elapsed_time : float byref -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - flag
- Type: SystemInt32
1 - set start time, 0 - return elapsed time - start_time
- Type: SystemDouble
Start time in seconds - elapsed_time
- Type: SystemDouble
Elapsed time in seconds
Return Value
Type:
Int32Success if the delay has elapsed.
See Also