channel.cc (13072:f2b83208ab54) | channel.cc (13901:b9329102b1d8) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 40 unchanged lines hidden (view full) --- 49Channel::requestUpdate() 50{ 51 scheduler.requestUpdate(this); 52} 53 54void 55Channel::asyncRequestUpdate() 56{ | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 40 unchanged lines hidden (view full) --- 49Channel::requestUpdate() 50{ 51 scheduler.requestUpdate(this); 52} 53 54void 55Channel::asyncRequestUpdate() 56{ |
57 //TODO This should probably not request an update directly. 58 scheduler.requestUpdate(this); | 57 scheduler.asyncRequestUpdate(this); |
59} 60 61std::set<Channel *> allChannels; 62 63} // namespace sc_gem5 | 58} 59 60std::set<Channel *> allChannels; 61 62} // namespace sc_gem5 |