public static void main(String[] args) {
		// Starts the sampler
		Sampler sampler = new Sampler();
		sampler.setDaemon(true);
		sampler.start();

		// Starts the measuring
		while (true) {
			try (Split ignored = SimonManager.getStopwatch("sampled-stopwatch").start()) {
				ExampleUtils.waitRandomlySquared(50);
			}
		}
	}
public static void main ( String [ ] args ) { Sampler sampler = new Sampler ( ) ; sampler . setDaemon ( true ) ; sampler . start ( ) ; while ( true ) { try ( Split ignored = SimonManager . getStopwatch ( "sampled-stopwatch" ) . start ( ) ) { ExampleUtils . waitRandomlySquared ( 50 ) ; } } }
Entry point of the demo application.

@param args command line arguments