Subversion Repositories HelenOS

Rev

Rev 4216 | Rev 4229 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4216 Rev 4227
Line 994... Line 994...
994
    uint64_t t0 = task_get_accounting(TASK);
994
    uint64_t t0 = task_get_accounting(TASK);
995
    spinlock_unlock(&TASK->lock);
995
    spinlock_unlock(&TASK->lock);
996
    interrupts_restore(ipl);
996
    interrupts_restore(ipl);
997
   
997
   
998
    /* Execute the test */
998
    /* Execute the test */
-
 
999
    test_quiet = false;
999
    char * ret = test->entry(false);
1000
    char *ret = test->entry();
1000
   
1001
   
1001
    /* Update and read thread accounting */
1002
    /* Update and read thread accounting */
1002
    ipl = interrupts_disable();
1003
    ipl = interrupts_disable();
1003
    spinlock_lock(&TASK->lock);
1004
    spinlock_lock(&TASK->lock);
1004
    uint64_t dt = task_get_accounting(TASK) - t0;
1005
    uint64_t dt = task_get_accounting(TASK) - t0;
Line 1046... Line 1047...
1046
        uint64_t t0 = task_get_accounting(TASK);
1047
        uint64_t t0 = task_get_accounting(TASK);
1047
        spinlock_unlock(&TASK->lock);
1048
        spinlock_unlock(&TASK->lock);
1048
        interrupts_restore(ipl);
1049
        interrupts_restore(ipl);
1049
       
1050
       
1050
        /* Execute the test */
1051
        /* Execute the test */
-
 
1052
        test_quiet = true;
1051
        char * ret = test->entry(true);
1053
        char * ret = test->entry();
1052
       
1054
       
1053
        /* Update and read thread accounting */
1055
        /* Update and read thread accounting */
1054
        ipl = interrupts_disable();
1056
        ipl = interrupts_disable();
1055
        spinlock_lock(&TASK->lock);
1057
        spinlock_lock(&TASK->lock);
1056
        uint64_t dt = task_get_accounting(TASK) - t0;
1058
        uint64_t dt = task_get_accounting(TASK) - t0;