[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: Benchmark Time
From: |
Jeffrey Oldham |
Subject: |
Patch: Benchmark Time |
Date: |
Wed, 25 Jul 2001 09:03:48 -0700 |
User-agent: |
Mutt/1.2.5i |
When running benchmarks, knowing the running time is frequently
useful. Before this patch, 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-25 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 Scott Haney
Applied to mainline branch (and newfield_revision by accident)
Thanks,
Jeffrey D. Oldham
address@hidden
Benchmark.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch: Benchmark Time,
Jeffrey Oldham <=