[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/elmat]

etime

(/tools/hpmatlab/toolbox/matlab/elmat/etime.m)


Function Synopsis

t = etime(t1,t0)

Help text

ETIME	Elapsed time.
	ETIME(T1,T0) returns the time in seconds that has elapsed between
	vectors T1 and T0.  The two vectors must be six elements long, in
	the format returned by CLOCK:

	    T = [Year Month Day Hour Minute Second]

	Here's an example of using ETIME to time an operation:

	  t0 = clock;
	  operation
	  etime(clock,t0)

	Caution: As currently implemented, it won't work across month or year
	boundaries.  It is an M-file, so it can be fixed if you require this.

	See also TIC, TOC, CLOCK, CPUTIME.

Cross-Reference Information

This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON