Sequencer.cc (10760:8f5993cfa916) | Sequencer.cc (10837:ecbab2522757) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 511 unchanged lines hidden (view full) --- 520 firstResponseTime, curCycle()); 521 522 DPRINTFR(ProtocolTrace, "%15s %3s %10s%20s %6s>%-6s %s %d cycles\n", 523 curTick(), m_version, "Seq", 524 llscSuccess ? "Done" : "SC_Failed", "", "", 525 request_address, total_latency); 526 527 // update the data unless it is a non-data-carrying flush | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 511 unchanged lines hidden (view full) --- 520 firstResponseTime, curCycle()); 521 522 DPRINTFR(ProtocolTrace, "%15s %3s %10s%20s %6s>%-6s %s %d cycles\n", 523 curTick(), m_version, "Seq", 524 llscSuccess ? "Done" : "SC_Failed", "", "", 525 request_address, total_latency); 526 527 // update the data unless it is a non-data-carrying flush |
528 if (g_system_ptr->m_warmup_enabled) { | 528 if (RubySystem::getWarmupEnabled()) { |
529 data.setData(pkt->getConstPtr<uint8_t>(), 530 request_address.getOffset(), pkt->getSize()); 531 } else if (!pkt->isFlush()) { 532 if ((type == RubyRequestType_LD) || 533 (type == RubyRequestType_IFETCH) || 534 (type == RubyRequestType_RMW_Read) || 535 (type == RubyRequestType_Locked_RMW_Read) || 536 (type == RubyRequestType_Load_Linked)) { --- 15 unchanged lines hidden (view full) --- 552 RubyTester::SenderState* testerSenderState = 553 pkt->findNextSenderState<RubyTester::SenderState>(); 554 assert(testerSenderState); 555 testerSenderState->subBlock.mergeFrom(data); 556 } 557 558 delete srequest; 559 | 529 data.setData(pkt->getConstPtr<uint8_t>(), 530 request_address.getOffset(), pkt->getSize()); 531 } else if (!pkt->isFlush()) { 532 if ((type == RubyRequestType_LD) || 533 (type == RubyRequestType_IFETCH) || 534 (type == RubyRequestType_RMW_Read) || 535 (type == RubyRequestType_Locked_RMW_Read) || 536 (type == RubyRequestType_Load_Linked)) { --- 15 unchanged lines hidden (view full) --- 552 RubyTester::SenderState* testerSenderState = 553 pkt->findNextSenderState<RubyTester::SenderState>(); 554 assert(testerSenderState); 555 testerSenderState->subBlock.mergeFrom(data); 556 } 557 558 delete srequest; 559 |
560 if (g_system_ptr->m_warmup_enabled) { | 560 if (RubySystem::getWarmupEnabled()) { |
561 assert(pkt->req); 562 delete pkt->req; 563 delete pkt; 564 g_system_ptr->m_cache_recorder->enqueueNextFetchRequest(); | 561 assert(pkt->req); 562 delete pkt->req; 563 delete pkt; 564 g_system_ptr->m_cache_recorder->enqueueNextFetchRequest(); |
565 } else if (g_system_ptr->m_cooldown_enabled) { | 565 } else if (RubySystem::getCooldownEnabled()) { |
566 delete pkt; 567 g_system_ptr->m_cache_recorder->enqueueNextFlushRequest(); 568 } else { 569 ruby_hit_callback(pkt); 570 } 571} 572 573bool --- 255 unchanged lines hidden --- | 566 delete pkt; 567 g_system_ptr->m_cache_recorder->enqueueNextFlushRequest(); 568 } else { 569 ruby_hit_callback(pkt); 570 } 571} 572 573bool --- 255 unchanged lines hidden --- |