computeHertz method

double computeHertz(
  1. int operations
)

Computes hertz for n operations.

Implementation

double computeHertz(int operations) {
  return operations / elapsedTimeSec;
}