traffic_gen.hh (10713:eddb533708cb) | traffic_gen.hh (10905:a6ca6831e775) |
---|---|
1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 189 unchanged lines hidden (view full) --- 198 PortID idx = InvalidPortID); 199 200 void init(); 201 202 void initState(); 203 204 unsigned int drain(DrainManager *dm); 205 | 1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 189 unchanged lines hidden (view full) --- 198 PortID idx = InvalidPortID); 199 200 void init(); 201 202 void initState(); 203 204 unsigned int drain(DrainManager *dm); 205 |
206 void serialize(std::ostream &os); | 206 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 207 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; |
207 | 208 |
208 void unserialize(Checkpoint* cp, const std::string& section); 209 | |
210 /** Register statistics */ 211 void regStats(); 212 213}; 214 215#endif //__CPU_TRAFFIC_GEN_TRAFFIC_GEN_HH__ | 209 /** Register statistics */ 210 void regStats(); 211 212}; 213 214#endif //__CPU_TRAFFIC_GEN_TRAFFIC_GEN_HH__ |