Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1002266 // getLastTiming - get result of saveTiming() or time { ... }

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2727L/16K).

1  
static long getLastTiming() {
2  
  ThreadLocal<Long> tl = saveTiming_tl();
3  
  if (tl == null) ret -1;
4  
  Long l = tl.get();
5  
  ret l == null ? -1 : l;
6  
}

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: #1002266
Snippet name: getLastTiming - get result of saveTiming() or time { ... }
Eternal ID of this version: #1002266/3
Text MD5: 22ec44722e0640a29e2cad6e71fd8f22
Transpilation MD5: e9dd5c3308cb73f3800e87aba8eea3d6
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:40
Source code size: 151 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 756 / 1441
Version history: 2 change(s)
Referenced in: [show references]