pintos/src/tests/threads/mlfqs-load-avg.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 *seq_no)
void test_mlfqs_load_avg (void)

Variables

static int64_t start_time


Define Documentation

#define THREAD_CNT   60

Definition at line 123 of file mlfqs-load-avg.c.


Function Documentation

static void load_thread ( void *  seq_no  )  [static]

Definition at line 156 of file mlfqs-load-avg.c.

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

void test_mlfqs_load_avg ( void   ) 


Variable Documentation

int64_t start_time [static]

Definition at line 119 of file mlfqs-load-avg.c.


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