Searched hist:2488 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/systemc/core/ | ||
H A D | scheduler.hh | diff 13125:2488fd19b643 Tue Aug 28 02:18:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Clamp the time of events to the present. If systemc attempts to schedule an event in the past, schedule it for right now instead. Still preserve the difference between delta and timed events. This scheme doesn't really make a lot of sense (why not just disallow scheduling events in the past?) but this will approximate what I think the correct behavior is. What's probably supposed to happen is that events in the past are executed from most past to most present until they catch up with now, and then now advances as normal. Our approach is simpler, but won't preserve ordering between multiple events scheduled in the past. Change-Id: I73c1e581c532530178458f044674613a4f4ea3be Reviewed-on: https://gem5-review.googlesource.com/c/12277 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> |
Completed in 13 milliseconds