# Benchmark configuration parameters. if version == 'ALL': versions = common.versions else: versions = [version] if env == 'localhost': renv = 'bin/sessionj' hostname = 'localhost' client = common.getLocalhostClient() workers = common.getLocalhostWorkers() (numClients, messageSizes, sessionLengths) = common.getLocalhostParameters() elif env == 'camelot': renv = 'bin/csessionj' hostname = socket.gethostname() client = common.getCamelotClient() if debug: workers = common.getCamelotDebugWorkers() (numClients, messageSizes, sessionLengths) = common.getDebugParameters() else: workers = common.getCamelotWorkers() (numClients, messageSizes, sessionLengths) = common.getParameters() else: common.printAndFlush('Unknown environment: ' + env) sys.exit(1)
# Benchmark configuration parameters. if version == 'ALL': versions = common.versions else: versions = [version] if env == 'localhost': renv = 'bin/sessionj' hostname = 'localhost' client = common.getLocalhostClient() workers = common.getLocalhostWorkers() (numClients, messageSizes) = common.getLocalhostParameters() elif env == 'camelot': renv = 'bin/csessionj' hostname = socket.gethostname() client = common.getCamelotClient() if debug: workers = common.getCamelotDebugWorkers() (numClients, messageSizes) = common.getDebugParameters() else: workers = common.getCamelotWorkers() (numClients, messageSizes) = common.getParameters() else: common.printAndFlush('Unknown environment: ' + env) sys.exit(1)