 | CSYSiGetTimer Method |
Return the elapsed time since the established time.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int iGetTimer(
CGXNETCore gxNetShared,
int flag,
ref double start_time,
ref double elapsed_time
)
public 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 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
)
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
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.
Remarks
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.
See Also