OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:targetReps
(Results
1 - 2
of
2
) sorted by null
/external/caliper/caliper/src/test/java/com/google/caliper/worker/
RuntimeWorkerTest.java
43
long
targetReps
= calculateTargetReps(INITIAL_REPS,
46
assertEquals(expectedReps,
targetReps
);
50
long
targetReps
=
52
assertEquals(1,
targetReps
);
56
long
targetReps
= calculateTargetReps(INITIAL_REPS, MILLISECONDS.toNanos(100),
58
assertEquals(110,
targetReps
);
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
RuntimeWorker.java
96
double
targetReps
= (((double) reps) / nanos) * targetNanos;
97
return Math.max(1L, Math.round((gaussian * (
targetReps
/ 5)) +
targetReps
));
Completed in 42 milliseconds