JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

How to profile run time on card?

JavaCard Applet Development Related Questions and Answers.
feature
Posts: 4
Joined: Thu May 06, 2021 7:52 am
Points :80
Contact:

How to profile run time on card?

Post by feature » Mon Jan 03, 2022 4:16 am

I want to find out how much time each line takes so that I can optimize my application.
I created a log class which I can write and read to, but I can't find any way to measure time... I see that JCop 3.1 has a javacardx.framework.time package which seems to have what I need - but my card only supports 3.0.5.

Is there any way to log durations in JCop 3.0.5 or 2.2.2?

Fesicop122
Posts: 1
Joined: Wed Aug 28, 2024 11:22 pm
Points :8
Contact:

Re: How to profile run time on card?

Post by Fesicop122 » Wed Aug 28, 2024 11:32 pm

JavaCard 3.0.5 and earlier versions like 2.2.2 do not include the javacardx.framework.time package, which means you can't directly measure time using built-in APIs papa's games
Playing a typical papa's games means making all the delectable fast food and bakery goods in the allotted time.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Google [Bot] and 7 guests

JavaCard OS : Disclaimer