/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/sedflux/run_compaction.c File Reference

#include <stdio.h>
#include <pthread.h>
#include <sed/sed_sedflux.h>
#include "my_processes.h"

Go to the source code of this file.

Defines

#define SED_COMPACTION_PROC_NAME   "compaction"
#define EH_LOG_DOMAIN   SED_COMPACTION_PROC_NAME
#define N_THREADS   5
#define S_NTRIES   5

Functions

void thread_compact (void *data, void *user_data)
int compact (Sed_column, double)
Sed_process_info run_compaction (Sed_process proc, Sed_cube p)
int pthread_mutex_spinlock (pthread_mutex_t *mutex)


Define Documentation

#define EH_LOG_DOMAIN   SED_COMPACTION_PROC_NAME

Definition at line 22 of file run_compaction.c.

#define N_THREADS   5

Definition at line 31 of file run_compaction.c.

#define S_NTRIES   5

Definition at line 99 of file run_compaction.c.

Referenced by pthread_mutex_spinlock().

#define SED_COMPACTION_PROC_NAME   "compaction"

Definition at line 21 of file run_compaction.c.


Function Documentation

int compact ( Sed_column  ,
double   
)

int pthread_mutex_spinlock ( pthread_mutex_t *  mutex  ) 

Definition at line 101 of file run_compaction.c.

References S_NTRIES.

Sed_process_info run_compaction ( Sed_process  proc,
Sed_cube  p 
)

Definition at line 37 of file run_compaction.c.

References compact(), eh_free, eh_new, eh_require, N_THREADS, sed_cube_age_in_years(), sed_cube_col(), sed_cube_size(), SED_EMPTY_INFO, and thread_compact().

void thread_compact ( void *  data,
void *  user_data 
)

Definition at line 89 of file run_compaction.c.

References compact(), sed_cube_age_in_years(), and sed_cube_col().

Referenced by run_compaction().


Generated on Fri Jan 4 18:04:18 2008 for sedflux by  doxygen 1.5.2