MCPcopy Create free account
hub / github.com/cmu-db/benchbase / ThreadBench

Method ThreadBench

src/main/java/com/oltpbenchmark/ThreadBench.java:47–56  ·  view source on GitHub ↗
(
      List<? extends Worker<? extends BenchmarkModule>> workers,
      List<WorkloadConfiguration> workConfs,
      MonitorInfo monitorInfo)

Source from the content-addressed store, hash-verified

45 private Monitor monitor = null;
46
47 private ThreadBench(
48 List<? extends Worker<? extends BenchmarkModule>> workers,
49 List<WorkloadConfiguration> workConfs,
50 MonitorInfo monitorInfo) {
51 this.workers = workers;
52 this.workConfs = workConfs;
53 this.workerThreads = new ArrayList<>(workers.size());
54 this.monitorInfo = monitorInfo;
55 this.testState = new BenchmarkState(workers.size() + 1);
56 }
57
58 public static Results runRateLimitedBenchmark(
59 List<Worker<? extends BenchmarkModule>> workers,

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected