Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
5
Task/Rate-counter/Mathematica/rate-counter.math
Normal file
5
Task/Rate-counter/Mathematica/rate-counter.math
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
jobRateCounted[fn_,Y_Integer]:=First[AbsoluteTiming[Do[fn,{Y}]]/Y;
|
||||
SetAttributes[jobRateCounted,HoldFirst]
|
||||
|
||||
jobRatePeriod[fn_,time_]:=Block[{n=0},TimeConstrained[While[True,fn;n++]];n/time];
|
||||
SetAttributes[jobRatePeriod,HoldFirst]
|
||||
Loading…
Add table
Add a link
Reference in a new issue