SeriesRequestGenerator.cc (10566:c99c8d2a7c31) | SeriesRequestGenerator.cc (11320:42ecb523c64a) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009-2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 73 unchanged lines hidden (view full) --- 82 delete pkt->req; 83 delete pkt; 84 85 DPRINTF(DirectedTest, "failed to initiate request - sequencer not ready\n"); 86 return false; 87 } 88} 89 | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009-2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 73 unchanged lines hidden (view full) --- 82 delete pkt->req; 83 delete pkt; 84 85 DPRINTF(DirectedTest, "failed to initiate request - sequencer not ready\n"); 86 return false; 87 } 88} 89 |
90void | 90void |
91SeriesRequestGenerator::performCallback(uint32_t proc, Addr address) 92{ 93 assert(m_active_node == proc); | 91SeriesRequestGenerator::performCallback(uint32_t proc, Addr address) 92{ 93 assert(m_active_node == proc); |
94 assert(m_address == address); | 94 assert(m_address == address); |
95 assert(m_status == SeriesRequestGeneratorStatus_Request_Pending); 96 97 m_status = SeriesRequestGeneratorStatus_Thinking; 98 m_active_node++; 99 if (m_active_node == m_num_cpus) { 100 // 101 // Cycle of requests completed, increment cycle completions and restart 102 // at cpu zero --- 12 unchanged lines hidden --- | 95 assert(m_status == SeriesRequestGeneratorStatus_Request_Pending); 96 97 m_status = SeriesRequestGeneratorStatus_Thinking; 98 m_active_node++; 99 if (m_active_node == m_num_cpus) { 100 // 101 // Cycle of requests completed, increment cycle completions and restart 102 // at cpu zero --- 12 unchanged lines hidden --- |