Deleted Added
sdiff udiff text old ( 8666:97d873b8b13e ) new ( 8986:4cc63185478b )
full compact
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;

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

3121sum(Temp val)
3122{
3123 return NodePtr(new SumNode<std::plus<Result> >(val));
3124}
3125
3126/** Dump all statistics data to the registered outputs */
3127void dump();
3128void reset();
3129
3130/**
3131 * Register a callback that should be called whenever statistics are
3132 * reset
3133 */
3134void registerResetCallback(Callback *cb);
3135
3136std::list<Info *> &statsList();
3137
3138} // namespace Stats
3139
3140#endif // __BASE_STATISTICS_HH__