Sequencer.hh (8737:770ccf3af571) | Sequencer.hh (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; --- 20 unchanged lines hidden (view full) --- 29#ifndef __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 30#define __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 31 32#include <iostream> 33 34#include "base/hashmap.hh" 35#include "mem/protocol/GenericMachineType.hh" 36#include "mem/protocol/RubyRequestType.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; --- 20 unchanged lines hidden (view full) --- 29#ifndef __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 30#define __MEM_RUBY_SYSTEM_SEQUENCER_HH__ 31 32#include <iostream> 33 34#include "base/hashmap.hh" 35#include "mem/protocol/GenericMachineType.hh" 36#include "mem/protocol/RubyRequestType.hh" |
37#include "mem/protocol/SequencerRequestType.hh" |
|
37#include "mem/ruby/common/Address.hh" 38#include "mem/ruby/common/Consumer.hh" 39#include "mem/ruby/system/RubyPort.hh" 40 41class DataBlock; 42class CacheMemory; 43 44struct RubySequencerParams; --- 69 unchanged lines hidden (view full) --- 114 void print(std::ostream& out) const; 115 void printStats(std::ostream& out) const; 116 void checkCoherence(const Address& address); 117 118 void markRemoved(); 119 void removeRequest(SequencerRequest* request); 120 void evictionCallback(const Address& address); 121 | 38#include "mem/ruby/common/Address.hh" 39#include "mem/ruby/common/Consumer.hh" 40#include "mem/ruby/system/RubyPort.hh" 41 42class DataBlock; 43class CacheMemory; 44 45struct RubySequencerParams; --- 69 unchanged lines hidden (view full) --- 115 void print(std::ostream& out) const; 116 void printStats(std::ostream& out) const; 117 void checkCoherence(const Address& address); 118 119 void markRemoved(); 120 void removeRequest(SequencerRequest* request); 121 void evictionCallback(const Address& address); 122 |
123 void recordRequestType(SequencerRequestType requestType); 124 |
|
122 private: 123 void issueRequest(PacketPtr pkt, RubyRequestType type); 124 125 void hitCallback(SequencerRequest* request, 126 GenericMachineType mach, 127 DataBlock& data, 128 bool success, 129 Time initialRequestTime, --- 55 unchanged lines hidden --- | 125 private: 126 void issueRequest(PacketPtr pkt, RubyRequestType type); 127 128 void hitCallback(SequencerRequest* request, 129 GenericMachineType mach, 130 DataBlock& data, 131 bool success, 132 Time initialRequestTime, --- 55 unchanged lines hidden --- |