Sequencer.cc (8232:b28d06a175be) Sequencer.cc (8266:66a3187a6714)
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;

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

495 if (mach == GenericMachineType_Directory) {
496 g_system_ptr->getProfiler()->missLatencyDir(issued_time,
497 initialRequestTime,
498 forwardRequestTime,
499 firstResponseTime,
500 g_eventQueue_ptr->getTime());
501 }
502
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;

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

495 if (mach == GenericMachineType_Directory) {
496 g_system_ptr->getProfiler()->missLatencyDir(issued_time,
497 initialRequestTime,
498 forwardRequestTime,
499 firstResponseTime,
500 g_eventQueue_ptr->getTime());
501 }
502
503 DPRINTFR(ProtocolTrace, "%7s %3s %10s%20s %6s>%-6s %s %d cycles\n",
504 g_eventQueue_ptr->getTime(), m_version, "Seq",
505 success ? "Done" : "SC_Failed", "", "",
506 ruby_request.m_PhysicalAddress, miss_latency);
503 DPRINTFR(ProtocolTrace, "%15s %3s %10s%20s %6s>%-6s %s %d cycles\n",
504 curTick(), m_version, "Seq",
505 success ? "Done" : "SC_Failed", "", "",
506 ruby_request.m_PhysicalAddress, miss_latency);
507 }
508#if 0
509 if (request.getPrefetch() == PrefetchBit_Yes) {
510 return; // Ignore the prefetch
511 }
512#endif
513
514 // update the data

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

680 proc_id = request.pkt->req->contextId();
681 }
682 RubyRequest *msg = new RubyRequest(request.m_PhysicalAddress.getAddress(),
683 request.data, request.m_Size,
684 request.m_ProgramCounter.getAddress(),
685 ctype, amtype, request.pkt,
686 PrefetchBit_No, proc_id);
687
507 }
508#if 0
509 if (request.getPrefetch() == PrefetchBit_Yes) {
510 return; // Ignore the prefetch
511 }
512#endif
513
514 // update the data

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

680 proc_id = request.pkt->req->contextId();
681 }
682 RubyRequest *msg = new RubyRequest(request.m_PhysicalAddress.getAddress(),
683 request.data, request.m_Size,
684 request.m_ProgramCounter.getAddress(),
685 ctype, amtype, request.pkt,
686 PrefetchBit_No, proc_id);
687
688 DPRINTFR(ProtocolTrace, "%7s %3s %10s%20s %6s>%-6s %s %s\n",
689 g_eventQueue_ptr->getTime(), m_version, "Seq", "Begin", "", "",
690 request.m_PhysicalAddress, RubyRequestType_to_string(request.m_Type));
688 DPRINTFR(ProtocolTrace, "%15s %3s %10s%20s %6s>%-6s %s %s\n",
689 curTick(), m_version, "Seq", "Begin", "", "",
690 request.m_PhysicalAddress, RubyRequestType_to_string(request.m_Type));
691
692 Time latency = 0; // initialzed to an null value
693
694 if (request.m_Type == RubyRequestType_IFETCH)
695 latency = m_instCache_ptr->getLatency();
696 else
697 latency = m_dataCache_ptr->getLatency();
698

--- 55 unchanged lines hidden ---
691
692 Time latency = 0; // initialzed to an null value
693
694 if (request.m_Type == RubyRequestType_IFETCH)
695 latency = m_instCache_ptr->getLatency();
696 else
697 latency = m_dataCache_ptr->getLatency();
698

--- 55 unchanged lines hidden ---