Skip to content

Commit

Permalink
comment cout
Browse files Browse the repository at this point in the history
  • Loading branch information
MayneMei authored Dec 2, 2024
1 parent 2877c55 commit 5d4dc71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/LSU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ namespace olympia

if (inst_ptr->isStoreInst())
{
std::cout << "RETIRE: Buffer size before:" << store_buffer_.size()
<< " UID:" << inst_ptr->getUniqueID() << "\n";
// std::cout << "RETIRE: Buffer size before:" << store_buffer_.size()
// << " UID:" << inst_ptr->getUniqueID() << "\n";
auto oldest_store = getOldestStore_();
sparta_assert(oldest_store && oldest_store->getInstPtr()->getUniqueID() == inst_ptr->getUniqueID(),
"Attempting to retire store out of order! Expected: "
Expand Down Expand Up @@ -1446,7 +1446,7 @@ namespace olympia

void LSU::flushStoreBuffer_(const FlushCriteria & criteria)
{
std::cout << "FLUSH: Store buffer size before:" << store_buffer_.size() << "\n";
// std::cout << "FLUSH: Store buffer size before:" << store_buffer_.size() << "\n";
auto sb_iter = store_buffer_.begin();
while(sb_iter != store_buffer_.end()) {
auto inst_ptr = (*sb_iter)->getInstPtr();
Expand All @@ -1459,7 +1459,7 @@ namespace olympia
++sb_iter;
}
}
std::cout << "FLUSH: Store buffer size after:" << store_buffer_.size() << "\n";
// std::cout << "FLUSH: Store buffer size after:" << store_buffer_.size() << "\n";
}

} // namespace olympia

0 comments on commit 5d4dc71

Please sign in to comment.