#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <sys/time.h>
Classes | |
struct | job |
struct | node |
struct | hprec |
struct | lran2_st |
Defines | |
#define | ASSERT(x) assert(x) |
#define | LL(ret, addr) LL64(ret,addr) |
#define | SC(ret, addr, newval) SC64(ret,addr,newval) |
#define | CAS(ret, addr, expval, newval) CAS64(ret,addr,expval,newval) |
#define | ptrsize_t unsigned long long |
#define | LL(ret, addr) LL64(ret,addr) |
#define | SC(ret, addr, newval) SC64(ret,addr,newval) |
#define | CAS(ret, addr, expval, newval) CAS64(ret,addr,expval,newval) |
#define | FAA(oldval, addr, val) FAA64(oldval,addr,val) |
#define | FAI(oldval, addr) FAI64(oldval,addr) |
#define | ptrsize_int_t unsigned long long |
#define | INC(oldval, addr) |
#define | LRAN2_MAX 714025l |
#define | IA 1366l |
#define | IC 150889l |
Typedefs | |
typedef struct job | job_t |
typedef struct node | node_t |
typedef struct hprec | hprec_t |
Functions | |
void | work_parse_args (int argc, char **argv) |
void | work_print_args () |
void | work_init (unsigned procs, unsigned multi) |
void | work (unsigned procs, unsigned multi, unsigned tid) |
Variables | |
struct lran2_st | rgen |
#define ASSERT | ( | x | ) | assert(x) |
#define CAS | ( | ret, | |||
addr, | |||||
expval, | |||||
newval | ) | CAS64(ret,addr,expval,newval) |
#define CAS | ( | ret, | |||
addr, | |||||
expval, | |||||
newval | ) | CAS64(ret,addr,expval,newval) |
#define FAA | ( | oldval, | |||
addr, | |||||
val | ) | FAA64(oldval,addr,val) |
#define FAI | ( | oldval, | |||
addr | ) | FAI64(oldval,addr) |
#define IA 1366l |
#define IC 150889l |
#define INC | ( | oldval, | |||
addr | ) |
#define LL | ( | ret, | |||
addr | ) | LL64(ret,addr) |
#define LL | ( | ret, | |||
addr | ) | LL64(ret,addr) |
#define LRAN2_MAX 714025l |
#define ptrsize_int_t unsigned long long |
#define ptrsize_t unsigned long long |
#define SC | ( | ret, | |||
addr, | |||||
newval | ) | SC64(ret,addr,newval) |
#define SC | ( | ret, | |||
addr, | |||||
newval | ) | SC64(ret,addr,newval) |
void work | ( | unsigned | procs, | |
unsigned | multi, | |||
unsigned | tid | |||
) |
void work_init | ( | unsigned | procs, | |
unsigned | multi | |||
) |
void work_parse_args | ( | int | argc, | |
char ** | argv | |||
) |
void work_print_args | ( | ) |