Home > freetb4matlab > time > etime.m

etime

PURPOSE ^

% Return the difference (in seconds) between two time values returned from

SYNOPSIS ^

function secs = etime (t1, t0)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} etime (@var{t1}, @var{t2})
% Return the difference (in seconds) between two time values returned from
% @code{clock}.  For example:
%
% @example
% @group
% t0 = clock ;
% % many computations later@dots{}
% elapsed_time = etime (clock , t0);
% @end group
% @end example
%
% @noindent
% will set the variable @code{elapsed_time} to the number of seconds since
% the variable @code{t0} was set.
% @seealso{tic, toc, clock, cputime}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003