Basic HTML version of Foils prepared May 19 1999

Foil 89 Example 2 Client, continued

From CORBA Common Object Request Broker Architecture Basic Information Track Computational Science Course CPS616 -- Spring Semester 1999. by Geoffrey Fox, Wojtek Furmanski, Nancy McCracken, Chao-Wei Ou, Shrideep Pallickara


counter.initSum((int)0); long startTime = System.currentTimeMillis(); for (int i=0; i򒮨 i++) ; { counter.increment(); } long stopTime = System.currentTimeMillis(); System.out.println("Avg Ping = " + ((stopTime-startTime)/1000f) + "msecs"); System.out.println("Sum = " + counter.sum()); } ...// catch exceptions }



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Mon Jul 5 1999