OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [toplevel.c] - Diff between revs 1593 and 1607

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1593 Rev 1607
Line 306... Line 306...
    tmp = scheduler.job_queue;
    tmp = scheduler.job_queue;
    scheduler.job_queue = tmp->next;
    scheduler.job_queue = tmp->next;
    tmp->next = scheduler.free_job_queue;
    tmp->next = scheduler.free_job_queue;
    scheduler.free_job_queue = tmp;
    scheduler.free_job_queue = tmp;
 
 
 
    scheduler.job_queue->time += tmp->time;
 
 
#if DYNAMIC_EXECUTION
#if DYNAMIC_EXECUTION
    /* This is done here and not after the loop has run because the job function
    /* This is done here and not after the loop has run because the job function
     * may raise an exception in which case set_sched_cycle would never be
     * may raise an exception in which case set_sched_cycle would never be
     * called. */
     * called. */
    set_sched_cycle(scheduler.job_queue->time);
    set_sched_cycle(scheduler.job_queue->time);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.