Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Macros | Functions
quicksort.c File Reference
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for quicksort.c:

Macros

#define SHORT_BENCH
 
#define TO_SORT_SIZE   2048
 

Functions

void QS (int[], int, int)
 
void swap (int[], int, int)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define SHORT_BENCH
#define TO_SORT_SIZE   2048

Referenced by main().

Function Documentation

int main ( int  argc,
char argv[] 
)

References QS(), and TO_SORT_SIZE.

Here is the call graph for this function:

void QS ( int  v[],
int  left,
int  right 
)

References i, last, QS(), and swap().

Here is the call graph for this function:

void swap ( int  v[],
int  i,
int  j 
)

References i.