traffic_gen.hh (9241:6cfb9a7acb1b) | traffic_gen.hh (9294:8fb03b13de02) |
---|---|
1/* 2 * Copyright (c) 2012 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 --- 583 unchanged lines hidden (view full) --- 592 593 594 public: 595 596 TrafficGen(const TrafficGenParams* p); 597 598 ~TrafficGen() {} 599 | 1/* 2 * Copyright (c) 2012 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 --- 583 unchanged lines hidden (view full) --- 592 593 594 public: 595 596 TrafficGen(const TrafficGenParams* p); 597 598 ~TrafficGen() {} 599 |
600 virtual MasterPort& getMasterPort(const std::string &if_name, 601 int idx = InvalidPortID); | 600 virtual BaseMasterPort& getMasterPort(const std::string &if_name, 601 PortID idx = InvalidPortID); |
602 603 void init(); 604 605 void initState(); 606 607 unsigned int drain(Event *drain_event); 608 609 void serialize(std::ostream &os); 610 611 void unserialize(Checkpoint* cp, const std::string& section); 612 613}; 614 615#endif //__MEM_TRAFFIC_GEN_HH__ | 602 603 void init(); 604 605 void initState(); 606 607 unsigned int drain(Event *drain_event); 608 609 void serialize(std::ostream &os); 610 611 void unserialize(Checkpoint* cp, const std::string& section); 612 613}; 614 615#endif //__MEM_TRAFFIC_GEN_HH__ |