URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [support/] [sched.h] - Diff between revs 1545 and 1558
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1545 |
Rev 1558 |
Line 100... |
Line 100... |
prev->next = new_job;
|
prev->next = new_job;
|
TRACE_(sched)("Scheduled job not going to head of queue, relative time: %"
|
TRACE_(sched)("Scheduled job not going to head of queue, relative time: %"
|
PRIi32"\n", new_job->time);
|
PRIi32"\n", new_job->time);
|
} else {
|
} else {
|
scheduler.job_queue = new_job;
|
scheduler.job_queue = new_job;
|
new_job->time = job_time;
|
new_job->time = job_time >= 0 ? job_time : cur->time;
|
#if DYNAMIC_EXECUTION
|
#if DYNAMIC_EXECUTION
|
/* If we are replaceing the first job in the queue, then update the
|
/* If we are replaceing the first job in the queue, then update the
|
* recompiler's internal cycle counter */
|
* recompiler's internal cycle counter */
|
set_sched_cycle(job_time);
|
set_sched_cycle(job_time);
|
#endif
|
#endif
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.