long start = System.getCurrentTimeMillis();
doSomething();
long duration = System.getCurrentTimeMillis() - start;

[EMAIL PROTECTED] schrieb:
> 
> hai There,
> 
>         Ca anyone let me know hot to find out the time taken for any
> progam running on the card....
> 
>         Suppose i wrote a program for Encrpting a message.....How can I
> calculate the amount of time taken by my program....
> 
> Thanks in Advan
> 
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
> 
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> !                           [EMAIL PROTECTED]
> ! containing the word
> !                           unsubscribe
> ! in the body.

--
Martin Buechler . Sen. IT-Developer Systems & Technology
Pixelpark AG  .  http://www.pixelpark.com
Rotherstr. 8 .  10245 Berlin  .  Germany
phone: +49 30 5058 - 1891  fax: - 1600


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to