statistics.hh (9550:e0e2c8f83d08) statistics.hh (9554:406fbcf60223)
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;

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

3159/**
3160 * Register a callback that should be called whenever statistics are
3161 * about to be dumped
3162 */
3163void registerDumpCallback(Callback *cb);
3164
3165std::list<Info *> &statsList();
3166
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;

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

3159/**
3160 * Register a callback that should be called whenever statistics are
3161 * about to be dumped
3162 */
3163void registerDumpCallback(Callback *cb);
3164
3165std::list<Info *> &statsList();
3166
3167typedef std::map<const void *, Info *> MapType;
3168MapType &statsMap();
3169
3170typedef std::map<std::string, Info *> NameMapType;
3171NameMapType &nameMap();
3172
3173bool validateStatName(const std::string &name);
3174
3167} // namespace Stats
3168
3175} // namespace Stats
3176
3177void debugDumpStats();
3178
3169#endif // __BASE_STATISTICS_HH__
3179#endif // __BASE_STATISTICS_HH__