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).

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

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: 755 / 1438
Version history: 2 change(s)
Referenced in: #1002403 - lastTiming - synonym of getLastTiming
#1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)