Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How can I keep track of computation time ?


From   SamL <[email protected]>
To   [email protected]
Subject   Re: st: How can I keep track of computation time ?
Date   Mon, 21 May 2007 11:05:00 -0700 (PDT)

This should work:

-timer on #

bunch of commands

-timer off #

-timer list #

where # is a number (which means you can have multiple timers going).

The off command stops that timer.  And -list- will list the number of
seconds the command(s) took to run.

HTH
Sam


On Tue, 22 May 2007 [email protected] wrote:

> Hi there,
>
> How can I keep track of computation time within stata do files? Matlab has
> a built-in tic and toc stop-watch, doesn't stata?
>
> I have found a reference to the etime stata module by Dan Blanchette
> --http://econpapers.repec.org/software/bocbocode/s435504.htm -- is that the
> way to go?
>
> many thanks,
>
> Patrick.
> [email protected]
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index