[Cosm Logo]

System Benchmark Functions


v3SpeedFloat

Syntax

#include "speed.h"
u64 v3SpeedFloat( void );

Description

Benchmarks IEEE floating point unit performance. Focuses on 64-bit math.

Return Values

The floating point performance of the system (where an Intel Pentium-100 = 100), 0 indicates failure.

Errors

None.

Example

  u64 fspeed;

  fspeed = v3SpeedFloat();

v3SpeedInt

Syntax

#include "speed.h"
u64 v3SpeedInt( void );

Description

Benchmarks integer unit performance.

Return Values

The integer performance of the system (where an Intel Pentium-100 = 100), 0 indicates failure.

Errors

None.

Example

  u64 ispeed;

  ispeed = v3SpeedInt();

© Copyright Mithral Communications & Design, Inc. 1999. All rights reserved. Mithral(tm) and Cosm(tm) are trademarks of Mithral Communications & Design, Inc.
Document last modified: