CPU Time

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
lmc
Posts: 4
Joined: Fri Nov 13, 2009 2:17 pm

CPU Time

Post by lmc »

I am running various calculations using MLwiN and want to compare the CPU time for this package with other packages that are building the same models. Does anyone know how to determine the CPU time for calculations in MLwiN? Any help given would be much appreciated. Thank you in advance.
Lydia
Posts: 26
Joined: Tue Oct 13, 2009 2:55 pm

Re: CPU Time

Post by Lydia »

You can find out how long it takes a model to run by selecting Options -> Smileys. With this turned on, when the model has run a box pops up that tells you how long it took. However it seems to only give you hours, minutes and seconds, so if you're interested in fractions of a second then bad luck!
ChrisCharlton
Posts: 1353
Joined: Mon Oct 19, 2009 10:34 am

Re: CPU Time

Post by ChrisCharlton »

If you are running from macros you can also use the TIME command.

To start the timer use the command:
TIME 1

To report the elapsed time use:
TIME 0

or

TIME 0 <b>

if you want to store the time into a box.

An advantage of this command is that it does provide fractions of seconds.
Post Reply