public void startSampling() {
		this.sampleModel = getConsoleComponent(SampleModelImplementationEx.class);
		this.sampleModel.addTotalSampleListener(this);
		this.sampleModel.addModelListener(new SampleModel.Listener() {
			@Override
			public void stateChanged() {
				capture = SingleConsole.this.sampleModel.getState().isCapturing();
			}

			@Override
			public void resetTests() {
				intervalStatisticMapPerTest.clear();
				accumulatedStatisticMapPerTest.clear();
			}

			@Override
			public void newTests(Set<Test> newTests, ModelTestIndex modelTestIndex) {
				for (final Test each : newTests) {
					SingleConsole.this.sampleModel.addSampleListener(each, (intervalStatistics, cumulativeStatistics) -> {
						intervalStatisticMapPerTest.put(each, intervalStatistics.snapshot());
						accumulatedStatisticMapPerTest.put(each, cumulativeStatistics.snapshot());
					});
				}
			}

			@Override
			public void newSample() {
			}
		});
		informTestSamplingStart();
		this.sampleModel.start();
	}
Start sampling with sampling ignore count.
ngrinder-core/src/main/java/net/grinder/SingleConsole.java