Changeset 17754 for trunk/Mars/mcore
- Timestamp:
- 05/01/14 19:39:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/zofits.h
r17753 r17754 97 97 fWriteToDiskQueue(std::bind(&zofits::WriteBufferToDisk, this, std::placeholders::_1), false) 98 98 { 99 InitMemberVariables(numTiles, rowPerTile, maxUsableMem*1000);99 InitMemberVariables(numTiles, rowPerTile, size_t(maxUsableMem)*1000); 100 100 SetNumThreads(DefaultNumThreads()); 101 101 } … … 109 109 uint32_t rowPerTile = DefaultNumRowsPerTile(), 110 110 uint32_t maxUsableMem= DefaultMaxMemory()) : ofits(), 111 fMemPool(0, maxUsableMem*1000),111 fMemPool(0, size_t(maxUsableMem)*1000), 112 112 fWriteToDiskQueue(std::bind(&zofits::WriteBufferToDisk, this, std::placeholders::_1), false) 113 113 { 114 114 open(fname); 115 InitMemberVariables(numTiles, rowPerTile, maxUsableMem*1000);115 InitMemberVariables(numTiles, rowPerTile, size_t(maxUsableMem)*1000); 116 116 SetNumThreads(DefaultNumThreads()); 117 117 } … … 121 121 uint32_t rowPerTile = DefaultNumRowsPerTile(), 122 122 uint32_t maxUsableMem= DefaultMaxMemory()) : ofits(), 123 fMemPool(0, maxUsableMem*1000),123 fMemPool(0, size_t(maxUsableMem)*1000), 124 124 fWriteToDiskQueue(std::bind(&zofits::WriteBufferToDisk, this, std::placeholders::_1), false) 125 125 { 126 126 open(fname); 127 InitMemberVariables(numTiles, rowPerTile, maxUsableMem*1000);127 InitMemberVariables(numTiles, rowPerTile, size_t(maxUsableMem)*1000); 128 128 SetNumThreads(DefaultNumThreads()); 129 129 }
Note:
See TracChangeset
for help on using the changeset viewer.