00001 #ifndef FUPERMOD_DATA_H_ 00002 #define FUPERMOD_DATA_H_ 00003 00004 #include "fupermod_benchmark.h" 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00022 typedef struct fupermod_data { 00024 int count; 00026 fupermod_point* points; 00027 } fupermod_data; 00028 00032 fupermod_data* fupermod_data_alloc(); 00033 00035 void fupermod_data_free(fupermod_data* data); 00036 00038 int fupermod_data_read(FILE* stream, fupermod_data* data); 00039 00041 int fupermod_data_write_head(FILE* stream, fupermod_library* library); 00042 00044 int fupermod_data_write(FILE* stream, fupermod_data* data, fupermod_library* library); 00045 00052 int fupermod_data_add(fupermod_data* data, fupermod_point point); 00053 00054 00061 char* fupermod_data_filename(const char* path, fupermod_process_conf conf); 00062 00066 #ifdef __cplusplus 00067 } 00068 #endif 00069 00070 #endif /*FUPERMOD_DATA_H_*/