Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Time to run a program


From   Jean-Benoit Hardouin <jean-benoit.hardouin@neuf.fr>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Time to run a program
Date   Wed, 12 May 2004 18:06:45 +0200

this command permet to display the date/time, but don't solve my problem (Perhaps I have not see all the subtleties of this command).

My problem is to compute the time between the beginning and the end of the running of a program.

Thank you for your help.

Jean-Benoit Hardouin


Le Wed, 12 May 2004 16:30:04 +0200, Ulrich Kohler <kohler@wz-berlin.de> a écrit:


How about

. set rmsg on


I search a way to obtain the time (in seconds) to run a program. I suppose
we search the DATE/TIME ($S_DATE and $S_TIME ?) at the beginning of the
program and at the end of the program, and that we compute the difference
between these two times, but I don't know how made that. Thank you for
your help.
Jean-Benoit Hardouin



--
*****************************************************************************
Jean-Benoit Hardouin
Regional Health Observatory
Orléans - France
email : jean-benoit.hardouin@neuf.fr
*****************************************************************************
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index