etime

The function etime takes one or two arguments. The arguments are the numbers of clock ticks (returned by clock()). When called with two arguments like etime(c1, c2), the time duration between c1 and c2 in seconds is returned. When called with one argument, like etime(c), the time duration between c and present (in seconds) is returned.



oz 2009-12-22