Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions | Variables
sort_test2.c File Reference
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include "c99.h"
#include "name.h"
#include "fail.h"
#include "types.h"
#include "mem.h"
#include "sort.h"
#include "rdtsc.h"
+ Include dependency graph for sort_test2.c:

Go to the source code of this file.

Macros

#define N   (1<<20)
 
#define TIME(t, repeat, what)
 

Functions

int main ()
 

Variables

ulong A [N]
 
ulong out [N]
 
uint P [N]
 

Macro Definition Documentation

#define N   (1<<20)

Definition at line 18 of file sort_test2.c.

Referenced by main().

#define TIME (   t,
  repeat,
  what 
)
Value:
do { \
for(r=repeat;r;--r) { what; } \
tic = getticks(); \
for(r=repeat;r;--r) { what; } \
toc = getticks(); \
t = toc-tic; \
} while(0)

Referenced by main().

Function Documentation

int main ( )

Definition at line 23 of file sort_test2.c.

References buffer_free, i, N, null_buffer, sortp_long, sortv_long, TIME, uint, and ulong.

Variable Documentation

ulong A[N]

Definition at line 20 of file sort_test2.c.

ulong out[N]
uint P[N]

Definition at line 21 of file sort_test2.c.