<HEAD> <TITLE> time_expression - return the amount of real time that an expression took </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> time_expression - return the amount of real time that an expression took </H1> </center> <p> <b> int time_expression( mixed expr ); </b> <p> <b> int time_expression { ... } </b> <p> Evaluate <expr> or the specified block of code. The amount of real time that passes during the evaluation of <expr>, in microseconds, is returned. The precision of the value is not necessarily 1 microsecond; in fact, it probably is much less precise. <p> See also: <A HREF=rusage.html> rusage </A>, <A HREF=../system/function_profile.html> function_profile </A>, <A HREF=../system/time.html> time </A> <p> <HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim> Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/"> Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS> <p>