[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RFA: Time Benchmarks
From: |
Jeffrey Oldham |
Subject: |
RFA: Time Benchmarks |
Date: |
Tue, 24 Jul 2001 13:13:31 -0700 |
User-agent: |
Mutt/1.2.5i |
This patch has been awaiting response since 05Jul. It is OK to commit
this patch?
When running benchmarks, knowing the running time is frequently
useful. Currently, only the number of megaflops is computed. This
patch adds a "--report-time" command-line option which substitutes
running time in seconds for megaflops.
2001-07-05 Jeffrey D. Oldham <address@hidden>
* Benchmark.cmpl.cpp (Benchmark::Benchmark): Initialize
report_time_m. Process "--report-time".
(Benchmark::usage): Add "--report-time" explanation.
(Benchmark::runImplementation): Revise storage of time xor Mflops.
* Benchmark.h (Benchmark): Add report_time_m.
Tested on sequential Linux using gcc3.0 and by building and running three
benchmarks
Approved by ???you???
Thanks,
Jeffrey D. Oldham
address@hidden
Benchmark.patch
Description: Text document