| ![]() |
From | "Nikolaos A. Patsopoulos" <npatsop@cc.uoi.gr> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: counting time a program runs |
Date | Mon, 26 Feb 2007 09:37:02 +0200 |
SamL wrote:
I am not sure if this would meet your needs, but the following code will
give you the time in seconds (I use ; to signify end of line, and the
"1" is the number one, apparently you can have several timers running at
once):
Start job
timer on 1 ;
code you want to run
timer off 1 ;
timer list 1 ;
clear ;
exit ;
HTH
Sam
On Sat, 24 Feb 2007, Ben Jann wrote:
Type*
. set rmsg on
Also see
. help profiler
ben
On 2/24/07, Nikolaos A. Patsopoulos <npatsop@cc.uoi.gr> wrote:
H all,*
is there a way to count the total time a program runs?
Thanks in advance,
Nikos
*
* 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/
* 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/
Thanks! Nikos * * 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |