pintos/src/tests/threads/mlfqs-load-60.c File Reference

#include <stdio.h>
#include "tests/threads/tests.h"
#include "threads/init.h"
#include "threads/malloc.h"
#include "threads/synch.h"
#include "threads/thread.h"
#include "devices/timer.h"

Go to the source code of this file.

Defines

#define THREAD_CNT   60

Functions

static void load_thread (void *aux)
void test_mlfqs_load_60 (void)
static void load_thread (void *aux UNUSED)

Variables

static int64_t start_time


Define Documentation

#define THREAD_CNT   60

Definition at line 112 of file mlfqs-load-60.c.

Referenced by load_thread(), test_mlfqs_load_60(), and test_mlfqs_load_avg().


Function Documentation

static void load_thread ( void *aux  UNUSED  )  [static]

Definition at line 144 of file mlfqs-load-60.c.

References start_time, thread_set_nice(), timer_elapsed(), TIMER_FREQ, and timer_sleep().

static void load_thread ( void *  aux  )  [static]

void test_mlfqs_load_60 ( void   ) 


Variable Documentation

int64_t start_time [static]


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6