packet.cc (12344:57364c030de3) | packet.cc (12346:9b1144d046ca) |
---|---|
1/* 2 * Copyright (c) 2011-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 --- 335 unchanged lines hidden (view full) --- 344 senderState = sender_state->predecessor; 345 sender_state->predecessor = NULL; 346 return sender_state; 347} 348 349void 350Packet::print(ostream &o, const int verbosity, const string &prefix) const 351{ | 1/* 2 * Copyright (c) 2011-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 --- 335 unchanged lines hidden (view full) --- 344 senderState = sender_state->predecessor; 345 sender_state->predecessor = NULL; 346 return sender_state; 347} 348 349void 350Packet::print(ostream &o, const int verbosity, const string &prefix) const 351{ |
352 ccprintf(o, "%s%s [%x:%x]%s%s%s%s", prefix, cmdString(), | 352 ccprintf(o, "%s%s [%x:%x]%s%s%s%s%s%s", prefix, cmdString(), |
353 getAddr(), getAddr() + getSize() - 1, 354 req->isSecure() ? " (s)" : "", 355 req->isInstFetch() ? " IF" : "", 356 req->isUncacheable() ? " UC" : "", | 353 getAddr(), getAddr() + getSize() - 1, 354 req->isSecure() ? " (s)" : "", 355 req->isInstFetch() ? " IF" : "", 356 req->isUncacheable() ? " UC" : "", |
357 isExpressSnoop() ? " ES" : ""); | 357 isExpressSnoop() ? " ES" : "", 358 req->isToPOC() ? " PoC" : "", 359 req->isToPOU() ? " PoU" : ""); |
358} 359 360std::string 361Packet::print() const { 362 ostringstream str; 363 print(str); 364 return str.str(); 365} --- 60 unchanged lines hidden --- | 360} 361 362std::string 363Packet::print() const { 364 ostringstream str; 365 print(str); 366 return str.str(); 367} --- 60 unchanged lines hidden --- |