dtod.hh (3943:68e673d2db04) | dtod.hh (3990:6a5fd06c76a0) |
---|---|
1/* 2 * Copyright (c) 206, 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; --- 50 unchanged lines hidden (view full) --- 59 protected: 60 const Params *params() const { return (const Params *)_params; } 61 62 public: 63 DumbTOD(Params *p); 64 65 virtual Tick read(PacketPtr pkt); 66 virtual Tick write(PacketPtr pkt); | 1/* 2 * Copyright (c) 206, 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; --- 50 unchanged lines hidden (view full) --- 59 protected: 60 const Params *params() const { return (const Params *)_params; } 61 62 public: 63 DumbTOD(Params *p); 64 65 virtual Tick read(PacketPtr pkt); 66 virtual Tick write(PacketPtr pkt); |
67 68 /** 69 * Serialize this object to the given output stream. 70 * @param os The stream to serialize to. 71 */ 72 virtual void serialize(std::ostream &os); 73 74 /** 75 * Reconstruct the state of this object from a checkpoint. 76 * @param cp The checkpoint use. 77 * @param section The section name of this object 78 */ 79 virtual void unserialize(Checkpoint *cp, const std::string §ion); 80 81 |
|
67}; 68 69#endif // __DEV_BADDEV_HH__ | 82}; 83 84#endif // __DEV_BADDEV_HH__ |