static long done2_always_timeFirst(long startTime, S desc) { long time = sysNow()-startTime; print(time + " ms: " + desc); ret time; } static long done2_always_timeFirst(S desc, long startTime) { ret done2_always_timeFirst(startTime, desc); } static long done2_always_timeFirst(long startTime) { ret done2_always_timeFirst(startTime, ""); }
Began life as a copy of #1007947
download show line numbers debug dex old transpilations
Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019666 |
Snippet name: | done2_always_timeFirst - print elapsed time (expects parameter taken from sysNow()) |
Eternal ID of this version: | #1019666/1 |
Text MD5: | 70ba846fcc431c9d9a59f74a1efdeb20 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-16 23:14:15 |
Source code size: | 364 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 271 / 317 |
Referenced in: | [show references] |