BSD Ports

benchmarks/whetstone 1.2 NetBSD

Benchmark for processors that gives you a MIPS rating

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Categories
benchmarks
Package size
5.5 KiB, 10.8 KiB installed

Description

Converted by Rich Painter, Painter Engineering, Inc. based on the www.netlib.org benchmark/whetstoned version obtained 16 March 1998.

A novel approach was used here to keep the look and feel of the FORTRAN version. Altering the FORTRAN-based array indices, starting at element 1, to start at element 0 for C, would require numerous changes, including decrementing the variable indices by 1. Instead, the array E1[] was declared 1 element larger in C. This allows the FORTRAN index range to function without any literal or variable indices changes. The array element E1[0] is simply never used and does not alter the benchmark results.

Install

Binary package:

pkgin install whetstone

From pkgsrc:

cd /usr/pkgsrc/benchmarks/whetstone && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.2
NetBSD 10.1 aarch641.2
SmartOS / illumos x86_641.2
macOS 15 arm641.2

Dependencies

No port depends on this one.