write_queue_entry.cc (12345:70c783a93195) write_queue_entry.cc (12637:bfc3cb9c7e6c)
1/*
2 * Copyright (c) 2012-2013, 2015-2017 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

--- 47 unchanged lines hidden (view full) ---

56#include <vector>
57
58#include "base/logging.hh"
59#include "base/types.hh"
60#include "debug/Cache.hh"
61#include "mem/cache/cache.hh"
62#include "sim/core.hh"
63
1/*
2 * Copyright (c) 2012-2013, 2015-2017 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

--- 47 unchanged lines hidden (view full) ---

56#include <vector>
57
58#include "base/logging.hh"
59#include "base/types.hh"
60#include "debug/Cache.hh"
61#include "mem/cache/cache.hh"
62#include "sim/core.hh"
63
64using namespace std;
65
66inline void
67WriteQueueEntry::TargetList::add(PacketPtr pkt, Tick readyTime,
68 Counter order)
69{
70 emplace_back(pkt, readyTime, order);
71}
72
73bool

--- 84 unchanged lines hidden (view full) ---

158
159 ccprintf(os, "%s Targets:\n", prefix);
160 targets.print(os, verbosity, prefix + " ");
161}
162
163std::string
164WriteQueueEntry::print() const
165{
64inline void
65WriteQueueEntry::TargetList::add(PacketPtr pkt, Tick readyTime,
66 Counter order)
67{
68 emplace_back(pkt, readyTime, order);
69}
70
71bool

--- 84 unchanged lines hidden (view full) ---

156
157 ccprintf(os, "%s Targets:\n", prefix);
158 targets.print(os, verbosity, prefix + " ");
159}
160
161std::string
162WriteQueueEntry::print() const
163{
166 ostringstream str;
164 std::ostringstream str;
167 print(str);
168 return str.str();
169}
165 print(str);
166 return str.str();
167}