Ignore:
Timestamp:
Jul 4, 2013 7:34:52 AM (6 years ago)
Author:
kulshres
Message:

less work in free_loc() for StoreManagerLocintBlock?

but work still needs to be done in ensure_block()

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/storemanager.h

    r427 r435  
    123123        FreeBlock(const struct FreeBlock &block) :
    124124            next(block.next),size(block.size) {}
     125        bool operator<(const struct FreeBlock& b) const {
     126            return (next < b.next);
     127        }
    125128    };
    126129
     
    128131    size_t &maxsize;
    129132    size_t &currentfill;
     133
     134    void consolidateBlocks();
    130135private:
    131136    /**
Note: See TracChangeset for help on using the changeset viewer.