#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 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 |
| #define SED_COMPACTION_PROC_NAME "compaction" |
Definition at line 21 of file run_compaction.c.
| int compact | ( | Sed_column | , | |
| double | ||||
| ) |
| int pthread_mutex_spinlock | ( | pthread_mutex_t * | mutex | ) |
| 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().
1.5.2