PKUOS - Pintos
Pintos source browser for PKU Operating System course
Macros | Functions
bubsort.c File Reference
#include <stdio.h>
Include dependency graph for bubsort.c:

Go to the source code of this file.

Macros

#define SORT_SIZE   128
 sort.c More...
 

Functions

int main (void)
 

Macro Definition Documentation

◆ SORT_SIZE

#define SORT_SIZE   128

sort.c

Test program to sort a large number of integers.

Intention is to stress virtual memory system.

Ideally, we could read the unsorted array off of the file system, and store the result back to the file system! Size of array to sort.

Definition at line 12 of file bubsort.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 15 of file bubsort.c.

References printf(), and SORT_SIZE.

Here is the call graph for this function: