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

7
LINES

< > BotCompany Repo | #1005584 // iterationsPerSecond - calculate iterations per second from number of iterations and ms

JavaX fragment (include)

static long iterationsPerSecond(long iter, long ms) {
  ret iter*1000/ms;
}

static long iterationsPerSecond(long iter) {
  ret iterationsPerSecond(iter, getLastTiming());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005584
Snippet name: iterationsPerSecond - calculate iterations per second from number of iterations and ms
Eternal ID of this version: #1005584/1
Text MD5: 26a074bb055330ab2262fb882399fff9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-28 19:07:34
Source code size: 179 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 484 / 496
Referenced in: [show references]