Deleted Added
sdiff udiff text old ( 6129:05405c5b8c16 ) new ( 6130:0fb959250892 )
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;

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

23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Nathan Binkert
29 */
30
31#include "base/stats/flags.hh"
32#include "base/stats/types.hh"
33
34namespace Stats {
35
36struct StorageParams
37{
38 virtual ~StorageParams();
39};
40
41struct Visit;
42
43class Info
44{
45 public:
46 /** The name of the stat. */
47 std::string name;
48 /** The description of the stat. */
49 std::string desc;
50 /** The formatting flags. */
51 StatFlags flags;
52 /** The display precision. */
53 int precision;
54 /** A pointer to a prerequisite Stat. */
55 const Info *prereq;
56 /**
57 * A unique stat ID for each stat in the simulator.
58 * Can be used externally for lookups as well as for debugging.
59 */

--- 161 unchanged lines hidden ---