Changeset 17350 for trunk/FACT++/src
- Timestamp:
- 11/23/13 13:05:32 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r17244 r17350 2026 2026 // --------- Setup compression of FITS files ----------- 2027 2027 if (conf.Has("zfits.num-threads")) 2028 zofits::DefaultNumThreads(conf.Get<int 16_t>("zfits.num-threads"));2028 zofits::DefaultNumThreads(conf.Get<int32_t>("zfits.num-threads")); 2029 2029 if (conf.Has("zfits.max-mem")) 2030 zofits::DefaultMaxMemory(conf.Get<uint 16_t>("zfits.max-mem")*1000);2030 zofits::DefaultMaxMemory(conf.Get<uint32_t>("zfits.max-mem")*1000); 2031 2031 if (conf.Has("zfits.num-tiles")) 2032 zofits::DefaultMaxNumTiles(conf.Get<uint 16_t>("zfits.num-tiles"));2032 zofits::DefaultMaxNumTiles(conf.Get<uint32_t>("zfits.num-tiles")); 2033 2033 if (conf.Has("zfits.num-rows")) 2034 zofits::DefaultNumRowsPerTile(conf.Get<uint 16_t>("zfits.num-rows"));2034 zofits::DefaultNumRowsPerTile(conf.Get<uint32_t>("zfits.num-rows")); 2035 2035 2036 2036 // ---------- Setup event builder --------- … … 2228 2228 po::options_description zfits("FITS compression options"); 2229 2229 zfits.add_options() 2230 ("zfits.num-threads", var<int 16_t>(), "Number of threads to spawn writing compressed FITS files")2231 ("zfits.max-mem", var<uint 16_t>(), "Maximum amount of memory to be allocated by FITS compression in MB")2232 ("zfits.num-tiles", var<uint 16_t>(), "Maximum number of tiles in the catalog")2233 ("zfits.num-rows", var<uint 16_t>(), "Maximum number of rows per tile")2230 ("zfits.num-threads", var<int32_t>(), "Number of threads to spawn writing compressed FITS files") 2231 ("zfits.max-mem", var<uint32_t>(), "Maximum amount of memory to be allocated by FITS compression in MB") 2232 ("zfits.num-tiles", var<uint32_t>(), "Maximum number of tiles in the catalog") 2233 ("zfits.num-rows", var<uint32_t>(), "Maximum number of rows per tile") 2234 2234 ; 2235 2235
Note:
See TracChangeset
for help on using the changeset viewer.