- Overview
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
- executable, Eclipse and Maven projects
The RuntimeDemo program displays the number of processor cores available and measures the time it takes to run the three types of methods in a loop or in parallel, respectively. It is controlled by keyboard input:
L triggers the execution in a loop
P triggers the parallel execution
E stands for Exit
The complete program consists of four classes:
DemoUnit.java DemoLayers.java StdDraw.java (from Princeton University) DemoApp.java main method
Download links:
RuntimeDemo.jar
RuntimeDemo-Eclipse.zip
RuntimeDemo-Maven.zip