Click or drag to resize

CSYSRunMultiUserScript Method

Execute a script using multithreaded users

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void RunMultiUserScript(
	CGXNETCore gxNetShared,
	string script,
	int users,
	int iterations,
	int wait_min_time,
	int wait_max_time,
	int ramp_up_time
)

public static void RunMultiUserScript(
	CGXNETCore gxNetShared,
	string script,
	int users,
	int iterations,
	int wait_min_time,
	int wait_max_time,
	int ramp_up_time
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
script
Type: SystemString
Script to run
users
Type: SystemInt32
Number of users to run
iterations
Type: SystemInt32
Number of iterations to run (for each user)
wait_min_time
Type: SystemInt32
Minimum wait time between iterations (0 for none)
wait_max_time
Type: SystemInt32
Maximum wait time between iterations (0 for none)
ramp_up_time
Type: SystemInt32
Ramp up time for users (0 for all users start immediatly)
Remarks
No access is provided in the script to EMAPS or EDBS. Users must ensure that the resources that are shared are protected.
See Also