statistics.cc (6128:fdfbd4c6e449) statistics.cc (6130:0fb959250892)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 76 unchanged lines hidden (view full) ---

85InfoAccess::setParams(const StorageParams *params)
86{
87 info()->storageParams = params;
88}
89
90void
91InfoAccess::setInit()
92{
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 76 unchanged lines hidden (view full) ---

85InfoAccess::setParams(const StorageParams *params)
86{
87 info()->storageParams = params;
88}
89
90void
91InfoAccess::setInit()
92{
93 info()->flags |= init;
93 info()->flags.set(init);
94}
95
96Info *
97InfoAccess::info()
98{
99 MapType::const_iterator i = statsMap().find(this);
100 assert(i != statsMap().end());
101 return (*i).second;

--- 275 unchanged lines hidden ---
94}
95
96Info *
97InfoAccess::info()
98{
99 MapType::const_iterator i = statsMap().find(this);
100 assert(i != statsMap().end());
101 return (*i).second;

--- 275 unchanged lines hidden ---