tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
normal.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <float.h>
#include <math.h>
#include "common.h"
#include "normal.h"
#include "random.h"
#include "thread.h"
#include "timer.h"
#include "tm.h"
#include "util.h"
Include dependency graph for normal.c:

Classes

struct  args
 

Macros

#define CHUNK   3
 

Typedefs

typedef struct args args_t
 

Functions

static void work (void *argPtr)
 
float ** normal_exec (int nthreads, float **feature, int nfeatures, int npoints, int nclusters, float threshold, int *membership, random_t *randomPtr)
 

Variables

double global_time = 0.0
 
float global_delta
 
long global_i
 

Macro Definition Documentation

#define CHUNK   3

Typedef Documentation

typedef struct args args_t

Function Documentation

float** normal_exec ( int  nthreads,
float **  feature,
int  nfeatures,
int  npoints,
int  nclusters,
float  threshold,
int *  membership,
random_t randomPtr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static void work ( void *  argPtr)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

float global_delta
long global_i
double global_time = 0.0