Annotate scheduled events with intended timestamp.

This commit is contained in:
Jan Grashoefer 2023-04-19 14:32:25 +02:00
parent fa84d2896a
commit ae152f1777
7 changed files with 73 additions and 6 deletions

View file

@ -4279,7 +4279,8 @@ ScheduleTimer::~ScheduleTimer() { }
void ScheduleTimer::Dispatch(double /* t */, bool /* is_expire */)
{
if ( event )
event_mgr.Enqueue(event, std::move(args));
event_mgr.Enqueue(event, std::move(args), util::detail::SOURCE_LOCAL, 0, nullptr,
this->Time());
}
ScheduleExpr::ScheduleExpr(ExprPtr arg_when, EventExprPtr arg_event)