JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
access the CPU timer inside a Java card Applet,
access the CPU timer inside a Java card Applet,
For JavaCard 3, As far as I know, it seems to be possible to access the CPU timer inside a Java card Applet, since the method System.getCurrentMillis() is available. But Is it possible for Javacard 2 either?
Are there any Javacards with proprietary extensions that allow to access a timer?
Are there any Javacards with proprietary extensions that allow to access a timer?
Re: access the CPU timer inside a Java card Applet,
Hi friend.
There is no timer defined for Java Card 2.
A complicated way I can think of measuring the time
1. implementing a counter loop and evaluating the byte code length of each iteration
2. knowledge about the Java Card byte code to assembler translation
3. knowledge about how long this assembler commands take
4. knowledge about the smart card IC's clock frequency
Hope this can help you!
There is no timer defined for Java Card 2.
A complicated way I can think of measuring the time
1. implementing a counter loop and evaluating the byte code length of each iteration
2. knowledge about the Java Card byte code to assembler translation
3. knowledge about how long this assembler commands take
4. knowledge about the smart card IC's clock frequency
Hope this can help you!
Who is online
Users browsing this forum: No registered users and 61 guests