static ThreadLocal<Long> saveTiming_last = new ThreadLocal(); static void saveTiming(long ms) { print(ms + " ms"); saveTiming_noPrint(ms); } static void saveTiming_noPrint(long ms) { saveTiming_last.set(ms); } static ThreadLocal<Long> saveTiming_tl() { ret saveTiming_last; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002263 |
Snippet name: | saveTiming |
Eternal ID of this version: | #1002263/3 |
Text MD5: | 81131b493975b66104d83f78e3f04b8c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-26 17:44:15 |
Source code size: | 299 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 682 / 1538 |
Version history: | 2 change(s) |
Referenced in: | [show references] |