[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

# Re: Thanks [FEMM] Re: How to get computation time with lua script

- To: Finite Element Method Magnetics mailing list <femm@list.foster-miller.net>
- Subject: Re: Thanks [FEMM] Re: How to get computation time with lua script
- From: Tsarafidy RAMINOSOA <tsarafidy@yahoo.fr>
- Date: Wed, 15 Oct 2003 10:57:11 +0200 (CEST)
- In-reply-to: <5.1.0.14.0.20031014134123.021ecb18@mail.oz.net>
- List-archive: <http://femm.foster-miller.net/pipermail/femm>
- List-help: <mailto:femm-request@list.foster-miller.net?subject=help>
- List-id: Finite Element Method Magnetics mailing list <femm.list.foster-miller.net>
- List-post: <mailto:femm@list.foster-miller.net>
- List-subscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=subscribe>
- List-unsubscribe: <http://femm.foster-miller.net/mailman/listinfo/femm>, <mailto:femm-request@list.foster-miller.net?subject=unsubscribe>
- Reply-to: Finite Element Method Magnetics mailing list <femm@list.foster-miller.net>

This is exactly what I was looking for.
Thanks a lot for this help !
Best regards
Tsarafidy
Barry Hansen <coilgun@oz.net> wrote:

> I like to write the starting time to my log file when the program begins:
> start_time = date()
> write(handle, "Start time: ", start_time, "\n" )
> Then record the ending time at completion, and put up a message box for the user:
> end_time = date()
> write(handle, "\nEnd time: ", end_time )
> messagebox("All done!\n\nStarted " .. start_time .. "\nFinished " .. end_time)
> You can see this in context at http://www.oz.net/~coilgun/femm/femm_hollow_cylinder.htm
> There is probably some simple math to get the elapsed time, but I prefer the time-of-day clock instead.
> Cheers, Barry
> At 12:23 PM 10/14/2003, you wrote:

> > Hello All,
> > Could anyone tell me how to get the computation duration using lua script?
> > Thanks in advance.
> > Tsarafidy

_______________________________________________
FEMM mailing list
FEMM@list.foster-miller.net
http://femm.foster-miller.net/mailman/listinfo/femm

Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

- References:
  - [FEMM] Re: How to get computation time with lua script
    - From: Barry Hansen <coilgun@oz.net>

- Prev by Date: [FEMM] Re: How to get computation time with lua script
- Next by Date: Thanks --- Re: [FEMM] How to get computation time with lua script
- Previous by thread: [FEMM] Re: How to get computation time with lua script
- Next by thread: [FEMM] velocity calculation
- Index(es):
  - Date
  - Thread