Libraryless. Click here for Pure Java version (5557L/31K).
svoid dm_profileThisThread(int interval default poorMansProfiling_defaultInterval(), Runnable r) { dm_showText("Profile", profileThisThreadToString(interval, r)); } static <A> A dm_profileThisThread(int interval default poorMansProfiling_defaultInterval(), IF0<A> f) { new Var<A> v; dm_profileThisThread(interval, r { v.set(f!) }); ret v!; }
Began life as a copy of #1029020
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032223 |
| Snippet name: | dm_profileThisThread |
| Eternal ID of this version: | #1032223/2 |
| Text MD5: | bdcb970b0508d92241657a3870736cad |
| Transpilation MD5: | eed6ba065c7fbc03f67998520b9cefb5 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-20 12:21:48 |
| Source code size: | 358 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 357 / 469 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |