Ignore:
Timestamp:
2010-03-28T23:05:18Z (14 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
07640dfd
Parents:
34bba0e
Message:

Accounting separated to kernel and user time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/interrupt/interrupt.c

    r34bba0e ra2a00e8  
    5151#include <print.h>
    5252#include <symtab.h>
     53#include <proc/thread.h>
    5354
    5455static struct {
     
    9091{
    9192        ASSERT(n < IVT_ITEMS);
     93
     94        /* Account user cycles */
     95        if (THREAD)
     96                thread_update_accounting(true);
    9297
    9398#ifdef CONFIG_UDEBUG
Note: See TracChangeset for help on using the changeset viewer.