Page 1 of 1

How to inform the user about the begin time and the end time of a method excution in java card

Posted: Wed Oct 07, 2015 10:52 pm
by Tarantino
I have just completed an applet. And there are 5 methods in the process() method in my applet. Just like

Code: Select all

public void process(APDU apdu)
{
    byte buf[] = apdu.getBuffer();
   
    if (selectingApplet())
    {
        return;
    }
   
    Method_1(apdu);
    Method_2(apdu);
    Method_3(apdu);
    Method_4(apdu);
    Method_5(apdu);
}


What I want to ask is how the users know when one method begins to execute and when it stops.
I mean how to inform the user about the begin time and the end time of a method excution in java card.

Re: How to inform the user about the begin time and the end time of a method excution in java card

Posted: Thu Oct 08, 2015 3:00 am
by rena2019
that's not possible. If you want time measurements you have to call each method separately with an APDU and measure the timing on the terminal/PC side

Re: How to inform the user about the begin time and the end time of a method excution in java card

Posted: Thu Oct 08, 2015 4:12 am
by Tarantino
rena2019 wrote:that's not possible. If you want time measurements you have to call each method separately with an APDU and measure the timing on the terminal/PC side


Thank you for your answer.