All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----test.jcsp.BenchMark
_____________ | | | BenchMark | |_____________|
___________________________ | | | _______ _________ | | | | | | | | | Nos |-->--| Consume | | | |_______| |_________| | | | | BenchMark | |___________________________|
The CSProcess has two CSProcess's executing in Parallel, Nos and Consume The output of the Nos process is connecting to the input of the Consume process.
The Consume process reads 50 Objects from the input Channel to discard any start-up overhead. It then time the time to read the next 5000 Objects and then writes to the screen the time taken in total and per loop then exits.
public BenchMark()
public void run()
public static void main(String argv[])
All Packages Class Hierarchy This Package Previous Next Index