NAME
examples/mops/mops.c - Calculate M ops/s
SYNOPSIS
% python examples/mops/mops.py
DESCRIPTION
A Python implementation of the examples/mops/mops.pasm example program, for speed comparisons.
Calculates a value for M ops/s (million operations per second) using integer arithmetic.
Prints out:
- the number of look iterations,
- the estimated number of ops performed,
- the elapsed time, and
- the number of M op/s.
SEE ALSO
examples/benchmarks/mops.pasm, examples/mops/mops.c, examples/mops/mops.cs, examples/mops/mops.il, examples/mops/mops.p6, examples/mops/mops.pl, examples/mops/mops.ps, examples/mops/mops.rb, examples/mops/mops.scheme.