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

8
LINES

< > BotCompany Repo | #1030259 // PreciselyTimed - value wrapped with precise timing result (double)

JavaX fragment (include)

sclass PreciselyTimed<A> extends Var<A> {
  double ms;
  
  *() {}
  *(A value, double *ms) { super(value); }
  
  toString { ret "[" + formatDouble_significant(ms, 3) + " ms] " + super.toString(); }
}

Author comment

Began life as a copy of #1026093

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030259
Snippet name: PreciselyTimed - value wrapped with precise timing result (double)
Eternal ID of this version: #1030259/1
Text MD5: b1acd275cc93423a13c71c57630d3e61
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-11-21 11:29:51
Source code size: 208 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 393
Referenced in: [show references]