Deleted Added
sdiff udiff text old ( 12181:2150eff234c1 ) new ( 12182:acde8d31d970 )
full compact
1/*
2 * Copyright (c) 2004-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;

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

36#include "kern/kernel_stats.hh"
37#include "sim/system.hh"
38
39using namespace std;
40using namespace Stats;
41
42namespace Kernel {
43
44void
45Statistics::regStats(const string &_name)
46{
47 myname = _name;
48
49 _arm
50 .name(name() + ".inst.arm")
51 .desc("number of arm instructions executed")
52 ;
53
54 _quiesce
55 .name(name() + ".inst.quiesce")
56 .desc("number of quiesce instructions executed")
57 ;
58}
59
60} // namespace Kernel