1 | static long done2_always_timeFirst(long startTime, S desc) { |
2 | long time = sysNow()-startTime; |
3 | print(time + " ms: " + desc); |
4 | ret time; |
5 | } |
6 | |
7 | static long done2_always_timeFirst(S desc, long startTime) { |
8 | ret done2_always_timeFirst(startTime, desc); |
9 | } |
10 | |
11 | static long done2_always_timeFirst(long startTime) { |
12 | ret done2_always_timeFirst(startTime, ""); |
13 | } |
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: | 272 / 318 |
Referenced in: | [show references] |