Sequencer.cc (11110:8647458d421d) | Sequencer.cc (11111:6da33e720481) |
---|---|
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; --- 615 unchanged lines hidden (view full) --- 624 latency = m_inst_cache_hit_latency; 625 else 626 latency = m_data_cache_hit_latency; 627 628 // Send the message to the cache controller 629 assert(latency > 0); 630 631 assert(m_mandatory_q_ptr != NULL); | 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; --- 615 unchanged lines hidden (view full) --- 624 latency = m_inst_cache_hit_latency; 625 else 626 latency = m_data_cache_hit_latency; 627 628 // Send the message to the cache controller 629 assert(latency > 0); 630 631 assert(m_mandatory_q_ptr != NULL); |
632 m_mandatory_q_ptr->enqueue(msg, latency); | 632 m_mandatory_q_ptr->enqueue(msg, clockEdge(), cyclesToTicks(latency)); |
633} 634 635template <class KEY, class VALUE> 636std::ostream & 637operator<<(ostream &out, const m5::hash_map<KEY, VALUE> &map) 638{ 639 typename m5::hash_map<KEY, VALUE>::const_iterator i = map.begin(); 640 typename m5::hash_map<KEY, VALUE>::const_iterator end = map.end(); --- 115 unchanged lines hidden --- | 633} 634 635template <class KEY, class VALUE> 636std::ostream & 637operator<<(ostream &out, const m5::hash_map<KEY, VALUE> &map) 638{ 639 typename m5::hash_map<KEY, VALUE>::const_iterator i = map.begin(); 640 typename m5::hash_map<KEY, VALUE>::const_iterator end = map.end(); --- 115 unchanged lines hidden --- |