Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Do some timing in javacard

JavaCard Applet Development Related Questions and Answers.
chaholic
Posts: 24
Joined: Mon Nov 23, 2015 4:52 am
Points :184
Contact:

Do some timing in javacard

Post by chaholic » Mon Jan 11, 2016 5:45 am

Hi everyone!

I want to do some timing for performance analysis of my code. Firstly I used System.getCurrentTimeMillis(), however this only provides few decimals for my analysis. In java there is System.nanoTime(), are there any similar, or other timings that I can use in JavaCard?

Note:
My javacard version - 3.0.4

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: Do some timing in javacard

Post by mabel » Tue Jan 12, 2016 10:49 pm

System.nanoTime() is just for your desktop Java code. As far as I know there is no internal clock in a JavaCard3 so you will not find any timing methods.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 67 guests

JavaCard OS : Disclaimer