dtod.cc (10565:23593fdaadcd) | dtod.cc (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2004-2006 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; --- 65 unchanged lines hidden (view full) --- 74 75Tick 76DumbTOD::write(PacketPtr pkt) 77{ 78 panic("Dumb tod device doesn't support writes\n"); 79} 80 81void | 1/* 2 * Copyright (c) 2004-2006 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; --- 65 unchanged lines hidden (view full) --- 74 75Tick 76DumbTOD::write(PacketPtr pkt) 77{ 78 panic("Dumb tod device doesn't support writes\n"); 79} 80 81void |
82DumbTOD::serialize(std::ostream &os) | 82DumbTOD::serialize(CheckpointOut &cp) const |
83{ 84 SERIALIZE_SCALAR(todTime); 85} 86 87void | 83{ 84 SERIALIZE_SCALAR(todTime); 85} 86 87void |
88DumbTOD::unserialize(Checkpoint *cp, const std::string §ion) | 88DumbTOD::unserialize(CheckpointIn &cp) |
89{ 90 UNSERIALIZE_SCALAR(todTime); 91} 92 93DumbTOD * 94DumbTODParams::create() 95{ 96 return new DumbTOD(this); 97} | 89{ 90 UNSERIALIZE_SCALAR(todTime); 91} 92 93DumbTOD * 94DumbTODParams::create() 95{ 96 return new DumbTOD(this); 97} |