Mercurial > hg > minc-tools
changeset 2544:8793cdffd21c
* added new globals and ENV vars for more efficient memory use in voxel_loop
author | Andrew L Janke <a.janke@gmail.com> |
---|---|
date | Mon, 15 Aug 2011 14:12:05 +1000 |
parents | 30d803b0fe2f |
children | 4b26fb8b776c 5a41267e433a |
files | libsrc/minc.h libsrc/minc_config.h |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libsrc/minc.h +++ b/libsrc/minc.h @@ -579,6 +579,7 @@ /* default voxel loop buffer size */ #define MI2_DEF_BUFF_SIZE 4096 +#define MI2_DEF_MAX_MEM 104857 #if MINC2
--- a/libsrc/minc_config.h +++ b/libsrc/minc_config.h @@ -6,7 +6,8 @@ #define MICFG_CHUNKING "MINC_CHUNKING" #define MICFG_LOGFILE "MINC_LOGFILE" #define MICFG_LOGLEVEL "MINC_LOGLEVEL" -#define MICFG_MAXBUF "MINC_MAX_BUFFER" +#define MICFG_MAXBUF "MINC_MAX_FILE_BUFFER_KB" +#define MICFG_MAXMEM "MINC_MAX_MEMORY_KB" extern int miget_cfg_bool(const char *); extern int miget_cfg_int(const char *);