Sequencer.cc (9011:52574306c576) Sequencer.cc (9104:27d56b644e78)
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;

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

31#include "config/the_isa.hh"
32#if THE_ISA == X86_ISA
33#include "arch/x86/insts/microldstop.hh"
34#endif // X86_ISA
35#include "cpu/testers/rubytest/RubyTester.hh"
36#include "debug/MemoryAccess.hh"
37#include "debug/ProtocolTrace.hh"
38#include "debug/RubySequencer.hh"
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;

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

31#include "config/the_isa.hh"
32#if THE_ISA == X86_ISA
33#include "arch/x86/insts/microldstop.hh"
34#endif // X86_ISA
35#include "cpu/testers/rubytest/RubyTester.hh"
36#include "debug/MemoryAccess.hh"
37#include "debug/ProtocolTrace.hh"
38#include "debug/RubySequencer.hh"
39#include "debug/RubyStats.hh"
39#include "mem/protocol/PrefetchBit.hh"
40#include "mem/protocol/RubyAccessMode.hh"
41#include "mem/ruby/buffers/MessageBuffer.hh"
42#include "mem/ruby/common/Global.hh"
43#include "mem/ruby/profiler/Profiler.hh"
44#include "mem/ruby/slicc_interface/RubyRequest.hh"
45#include "mem/ruby/system/CacheMemory.hh"
46#include "mem/ruby/system/Sequencer.hh"

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

726Sequencer::checkCoherence(const Address& addr)
727{
728#ifdef CHECK_COHERENCE
729 g_system_ptr->checkGlobalCoherenceInvariant(addr);
730#endif
731}
732
733void
40#include "mem/protocol/PrefetchBit.hh"
41#include "mem/protocol/RubyAccessMode.hh"
42#include "mem/ruby/buffers/MessageBuffer.hh"
43#include "mem/ruby/common/Global.hh"
44#include "mem/ruby/profiler/Profiler.hh"
45#include "mem/ruby/slicc_interface/RubyRequest.hh"
46#include "mem/ruby/system/CacheMemory.hh"
47#include "mem/ruby/system/Sequencer.hh"

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

727Sequencer::checkCoherence(const Address& addr)
728{
729#ifdef CHECK_COHERENCE
730 g_system_ptr->checkGlobalCoherenceInvariant(addr);
731#endif
732}
733
734void
735Sequencer::recordRequestType(SequencerRequestType requestType) {
736 DPRINTF(RubyStats, "Recorded statistic: %s\n",
737 SequencerRequestType_to_string(requestType));
738}
739
740
741void
734Sequencer::evictionCallback(const Address& address)
735{
736 ruby_eviction_callback(address);
737}
742Sequencer::evictionCallback(const Address& address)
743{
744 ruby_eviction_callback(address);
745}