tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
yada.c File Reference
#include <assert.h>
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include "region.h"
#include "list.h"
#include "mesh.h"
#include "heap.h"
#include "thread.h"
#include "timer.h"
#include "tm.h"
Include dependency graph for yada.c:

Macros

#define PARAM_DEFAULT_INPUTPREFIX   ("")
 
#define PARAM_DEFAULT_NUMTHREAD   (1L)
 
#define PARAM_DEFAULT_ANGLE   (20.0)
 

Functions

static void displayUsage (const char *appName)
 
static void parseArgs (long argc, char *const argv[])
 
static long initializeWork (heap_t *workHeapPtr, mesh_t *meshPtr)
 
void process ()
 
 MAIN (argc, argv)
 

Variables

const char * global_inputPrefix = PARAM_DEFAULT_INPUTPREFIX
 
long global_numThread = PARAM_DEFAULT_NUMTHREAD
 
double global_angleConstraint = PARAM_DEFAULT_ANGLE
 
mesh_tglobal_meshPtr
 
heap_tglobal_workHeapPtr
 
long global_totalNumAdded = 0
 
long global_numProcess = 0
 
comparator_t yada_heapcompare & element_heapCompare
 

Macro Definition Documentation

#define PARAM_DEFAULT_ANGLE   (20.0)
#define PARAM_DEFAULT_INPUTPREFIX   ("")
#define PARAM_DEFAULT_NUMTHREAD   (1L)

Function Documentation

static void displayUsage ( const char *  appName)
static

Here is the caller graph for this function:

static long initializeWork ( heap_t workHeapPtr,
mesh_t meshPtr 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

MAIN ( argc  ,
argv   
)

Here is the call graph for this function:

static void parseArgs ( long  argc,
char *const  argv[] 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

void process ( )

Here is the caller graph for this function:

Variable Documentation

comparator_t yada_heapcompare& element_heapCompare
double global_angleConstraint = PARAM_DEFAULT_ANGLE
const char* global_inputPrefix = PARAM_DEFAULT_INPUTPREFIX
mesh_t* global_meshPtr
long global_numProcess = 0
long global_numThread = PARAM_DEFAULT_NUMTHREAD
long global_totalNumAdded = 0
heap_t* global_workHeapPtr