kernel_stats.hh (10905:a6ca6831e775) kernel_stats.hh (11168:f98eb2da15a4)
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;

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

75 void regStats(const std::string &name);
76
77 public:
78 void arm() { _arm++; }
79 void quiesce() { _quiesce++; }
80 void swpipl(int ipl);
81
82 public:
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;

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

75 void regStats(const std::string &name);
76
77 public:
78 void arm() { _arm++; }
79 void quiesce() { _quiesce++; }
80 void swpipl(int ipl);
81
82 public:
83 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
84 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
83 void serialize(CheckpointOut &cp) const override;
84 void unserialize(CheckpointIn &cp) override;
85};
86
87} // namespace Kernel
88
89#endif // __KERNEL_STATS_HH__
85};
86
87} // namespace Kernel
88
89#endif // __KERNEL_STATS_HH__