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

11
LINES

< > BotCompany Repo | #1035053 // profileSingleThreadToConsole

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

Libraryless. Click here for Pure Java version (8791L/50K).

1  
static <A> A profileSingleThreadToConsole(IF0<A> f) {
2  
  if (f == null) null;
3  
  temp tempProfileSingleThreadToConsole();
4  
  ret f!;
5  
}
6  
7  
svoid profileSingleThreadToConsole(Runnable r) {
8  
  if (r == null) ret;
9  
  temp tempProfileSingleThreadToConsole();
10  
  r.run();
11  
}

Author comment

Began life as a copy of #1017986

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035053
Snippet name: profileSingleThreadToConsole
Eternal ID of this version: #1035053/1
Text MD5: 6f133898fc3b21f619b80bb8f8a21f8a
Transpilation MD5: ebdf01c38f7d2d2a12e43840d2a917ac
Author: stefan
Category: javax / profiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-26 02:34:54
Source code size: 269 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 150 / 203
Referenced in: [show references]