Do some timing in javacard
Do some timing in javacard
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
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
Re: Do some timing in javacard
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.
Who is online
Users browsing this forum: No registered users and 67 guests