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 | } |
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: | 392 / 488 |
| Referenced in: | [show references] |