freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: Doof2d: Eliminate Duplicate Computations


From: Jeffrey Oldham
Subject: Patch: Doof2d: Eliminate Duplicate Computations
Date: Fri, 12 Oct 2001 13:50:50 -0700
User-agent: Mutt/1.2.5i

2001-10-12  Jeffrey D. Oldham  <address@hidden>

        This patch reduces duplicate computation in the Doof2d benchmarks.
        Both initialize() and run() set the initial conditions.  In
        consultations with Stephen Smith, we have the untimed initialize()
        ensure that all the allocated memory pages are actually created
        and have run() set up the initial conditions.

        * Doof2d.h (Doof2dBase::initialize): Replace initialize() with
        statements to ensure all memory pages are actually created.
        (Doof2dBase::setInitialConditions): Removed in favor of code in
        initialize().
        * Doof2dInC.h (Doof2dInC::initialize) and
        (Doof2dInC::setInitialConditions): Likewise.
        (Doof2dCoefsInC::initialize) and
        (Doof2dCoefsInC::setInitialConditions): Likewise.

Tested on       sequential Linux using g++3.1 by running Doof2d
Approved by     Stephen Smith
Applied to      mainline

Thanks,
Jeffrey D. Oldham
address@hidden

Attachment: Doof2d.12Oct.11.8.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]