Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/scheduler.c

    rb2fa1204 r550523f5  
    6161#include <cpu.h>
    6262#include <print.h>
    63 #include <log.h>
    6463#include <debug.h>
    6564#include <stacktrace.h>
     
    518517       
    519518#ifdef SCHEDULER_VERBOSE
    520         log(LF_OTHER, LVL_DEBUG,
    521             "cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64
    522             ", nrdy=%" PRIua ")", CPU->id, THREAD->tid, THREAD->priority,
     519        printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64
     520            ", nrdy=%" PRIua ")\n", CPU->id, THREAD->tid, THREAD->priority,
    523521            THREAD->ticks, atomic_get(&CPU->nrdy));
    524522#endif
     
    665663                               
    666664#ifdef KCPULB_VERBOSE
    667                                 log(LF_OTHER, LVL_DEBUG,
    668                                     "kcpulb%u: TID %" PRIu64 " -> cpu%u, "
    669                                     "nrdy=%ld, avg=%ld", CPU->id, t->tid,
     665                                printf("kcpulb%u: TID %" PRIu64 " -> cpu%u, "
     666                                    "nrdy=%ld, avg=%ld\n", CPU->id, t->tid,
    670667                                    CPU->id, atomic_get(&CPU->nrdy),
    671668                                    atomic_get(&nrdy) / config.cpu_active);
Note: See TracChangeset for help on using the changeset viewer.