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

4
LINES

< > BotCompany Repo | #1024185 // tempPrintTime - print timing after end of block

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

Libraryless. Click here for Pure Java version (1605L/11K).

static AutoCloseable tempPrintTime() {
  long time = sysNow();
  ret autoCloseable { done2_always(time); };
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024185
Snippet name: tempPrintTime - print timing after end of block
Eternal ID of this version: #1024185/1
Text MD5: 7f7c53398c619e82ff7778a7a165cee4
Transpilation MD5: 6b75af917e056f327a72211b40507a62
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-24 18:53:49
Source code size: 112 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 189 / 273
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1024223 - benchOnce - run block once, print how long it took