Click or drag to resize

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
Syntax
public 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
)

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: Int32
Success 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