1/* 2 * Copyright (c) 2012-2013, 2015 ARM Limited 3 * Copyright (c) 2013 Cornell University 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 222 unchanged lines hidden (view full) --- 231/** 232 * The ClockedObject class extends the SimObject with a clock and 233 * accessor functions to relate ticks to the cycles of the object. 234 */ 235class ClockedObject 236 : public SimObject, public Clocked 237{ 238 public: |
239 ClockedObject(const ClockedObjectParams *p); |
240 241 /** Parameters of ClockedObject */ 242 typedef ClockedObjectParams Params; 243 const Params* params() const 244 { return reinterpret_cast<const Params*>(_params); } 245 246 void serialize(CheckpointOut &cp) const override; 247 void unserialize(CheckpointIn &cp) override; --- 43 unchanged lines hidden --- |