kernel_stats.hh (9848:a733a8eb6363) kernel_stats.hh (10905:a6ca6831e775)
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 virtual void serialize(std::ostream &os);
84 virtual void unserialize(Checkpoint *cp, const std::string &section);
83 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
84 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
85};
86
87} // namespace Kernel
88
89#endif // __KERNEL_STATS_HH__
85};
86
87} // namespace Kernel
88
89#endif // __KERNEL_STATS_HH__