Changeset e257ae3 in mainline for kernel/generic/src/ps/load.c


Ignore:
Timestamp:
2010-03-31T13:42:17Z (15 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0655d64
Parents:
944f2cab
Message:

Counting CPU busy and idle clock ticks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ps/load.c

    r944f2cab re257ae3  
    3737
    3838#include <proc/thread.h>
    39 #include <print.h>
    4039#include <ps/load.h>
    4140#include <arch.h>
     
    117116        while (true) {
    118117                calc_load_global();
    119                 printf("Computed loads: 0x%x 0x%x 0x%x\n", avenrun[0], avenrun[1], avenrun[2]);
    120118                thread_sleep(LOAD_FREQ);
    121119        }
Note: See TracChangeset for help on using the changeset viewer.