packet.cc (11600:a38c3f9c82d1) | packet.cc (11744:5d33c6972dda) |
---|---|
1/* 2 * Copyright (c) 2011-2016 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 --- 331 unchanged lines hidden (view full) --- 340 senderState = sender_state->predecessor; 341 sender_state->predecessor = NULL; 342 return sender_state; 343} 344 345void 346Packet::print(ostream &o, const int verbosity, const string &prefix) const 347{ | 1/* 2 * Copyright (c) 2011-2016 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 --- 331 unchanged lines hidden (view full) --- 340 senderState = sender_state->predecessor; 341 sender_state->predecessor = NULL; 342 return sender_state; 343} 344 345void 346Packet::print(ostream &o, const int verbosity, const string &prefix) const 347{ |
348 ccprintf(o, "%s[%x:%x] %s\n", prefix, 349 getAddr(), getAddr() + getSize() - 1, cmdString()); | 348 ccprintf(o, "%s%s [%x:%x]%s%s%s%s", prefix, cmdString(), 349 getAddr(), getAddr() + getSize() - 1, 350 req->isSecure() ? " (s)" : "", 351 req->isInstFetch() ? " IF" : "", 352 req->isUncacheable() ? " UC" : "", 353 isExpressSnoop() ? " ES" : ""); |
350} 351 352std::string 353Packet::print() const { 354 ostringstream str; 355 print(str); 356 return str.str(); 357} --- 60 unchanged lines hidden --- | 354} 355 356std::string 357Packet::print() const { 358 ostringstream str; 359 print(str); 360 return str.str(); 361} --- 60 unchanged lines hidden --- |