PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
#include <debug.h>
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
#include "tests/vm/qsort.h"
Go to the source code of this file.
Functions | |
int | main (int argc UNUSED, char *argv[]) |
Variables | |
const char * | test_name = "child-qsort" |
Reads a 128 kB file onto the stack and "sorts" the bytes in it, using quick sort, a multi-pass divide and conquer algorithm. More... | |
int main | ( | int argc | UNUSED, |
char * | argv[] | ||
) |
const char* test_name = "child-qsort" |
Reads a 128 kB file onto the stack and "sorts" the bytes in it, using quick sort, a multi-pass divide and conquer algorithm.
Child process for syn-read test.
The sorted data is written back to the same file in-place.
Definition at line 12 of file child-qsort.c.