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)

1  
static long iterationsPerSecond(long iter, long ms) {
2  
  ret iter*1000/ms;
3  
}
4  
5  
static long iterationsPerSecond(long iter) {
6  
  ret iterationsPerSecond(iter, getLastTiming());
7  
}

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: 597 / 617
Referenced in: [show references]