sc_event.cc (13279:de51c5711c1a) | sc_event.cc (13299:6bde86615f6f) |
---|---|
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 --- 328 unchanged lines hidden (view full) --- 337 return _gem5_event->getParentObject(); 338} 339 340void sc_event::notify() { _gem5_event->notify(); } 341void sc_event::notify(const sc_time &t) { _gem5_event->notify(t); } 342void sc_event::notify(double d, sc_time_unit u) { _gem5_event->notify(d, u); } 343void sc_event::cancel() { _gem5_event->cancel(); } 344bool sc_event::triggered() const { return _gem5_event->triggered(); } | 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 --- 328 unchanged lines hidden (view full) --- 337 return _gem5_event->getParentObject(); 338} 339 340void sc_event::notify() { _gem5_event->notify(); } 341void sc_event::notify(const sc_time &t) { _gem5_event->notify(t); } 342void sc_event::notify(double d, sc_time_unit u) { _gem5_event->notify(d, u); } 343void sc_event::cancel() { _gem5_event->cancel(); } 344bool sc_event::triggered() const { return _gem5_event->triggered(); } |
345void sc_event::notify_delayed() { _gem5_event->notify(SC_ZERO_TIME); } 346void sc_event::notify_delayed(const sc_time &t) { _gem5_event->notify(t); } | 345void 346sc_event::notify_delayed() 347{ 348 _gem5_event->notifyDelayed(SC_ZERO_TIME); 349} 350void 351sc_event::notify_delayed(const sc_time &t) 352{ 353 _gem5_event->notifyDelayed(t); 354} |
347 348sc_event_and_expr 349sc_event::operator & (const sc_event &e) const 350{ 351 sc_event_and_expr expr; 352 expr.insert(*this); 353 expr.insert(e); 354 return expr; --- 44 unchanged lines hidden --- | 355 356sc_event_and_expr 357sc_event::operator & (const sc_event &e) const 358{ 359 sc_event_and_expr expr; 360 expr.insert(*this); 361 expr.insert(e); 362 return expr; --- 44 unchanged lines hidden --- |