mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
bugfix: high fifo depth more than 32 bit
This commit is contained in:
@ -193,9 +193,9 @@ void Implementation::SetupFifoStructure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
FILE_LOG(logINFO) << "Memory Allocated Per Fifo: "
|
FILE_LOG(logINFO) << "Memory Allocated Per Fifo: "
|
||||||
<< (double)(((generalData->imageSize) +
|
<< (double)(((size_t)(generalData->imageSize) +
|
||||||
(generalData->fifoBufferHeaderSize)) *
|
(size_t)(generalData->fifoBufferHeaderSize)) *
|
||||||
fifoDepth) / (1000.00 * 1000.00)
|
(size_t)fifoDepth) / (1000.00 * 1000.00)
|
||||||
<< " Mb";
|
<< " Mb";
|
||||||
FILE_LOG(logINFO) << numThreads << " Fifo structure(s) reconstructed";
|
FILE_LOG(logINFO) << numThreads << " Fifo structure(s) reconstructed";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user