measure execution time kura [message #1765229] |
Wed, 07 June 2017 12:37 |
Eclipse User |
|
|
|
hello all,
I am trying to measure the time took for running some method in kura apps. I try to use System.nanoTime(), I set the start in method onConnectionEstablished (Auto-Generated DataService Method) and the stop point in my publish method.
when I try to see what the nanoTime shows, the start point shows value 0 but the stop point shows a correct value as i hope. I guess something wrong with set the nanoTime in Auto-Generated method by DataServiceListener (the same 0 value showed when I tryed in on MessageArrived method). because when i try to use it in non Auto-Generated method, it works properly and showed the data as i want.
so can someone tell me what happen with get nanoTime in auto-generated method ?
Thanks,
Iqbal
|
|
|
Powered by
FUDForum. Page generated in 0.26217 seconds