org.netlib.util
Class Second

java.lang.Object
  extended by org.netlib.util.Second

public class Second
extends java.lang.Object

Implementation of Fortran SECOND intrinsic function.

This file is part of the Fortran-to-Java (f2j) system, developed at the University of Tennessee.

This class implements the Fortran 77 SECOND intrinsic. SECOND is supposed to provide the CPU time for the process since the start of execution. Currently, Java doesn't have a similar method, so we use this cheesy simulation:

Essentially, this version of etime returns the wall-clock time elapsed since the beginning of execution.

Author:
Keith Seymour (seymour@cs.utk.edu)

Constructor Summary
Second()
           
 
Method Summary
static float second()
          Supposed to return the elapsed CPU time since the beginning of program execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Second

public Second()
Method Detail

second

public static float second()
Supposed to return the elapsed CPU time since the beginning of program execution. Currently implemented as wall clock time.

Returns:
the elapsed time.