[core] make range complete block size accessible to command line nodes

* range 'blockSize' is now the complete block size (equal for all iterations)
* command lines nodes can use this complete block size to compute the iteration number on software side; delegate range cropping for last iteration to software.
* 'effectiveBlockSize' is still accessible through 'rangeEffectiveBlockSize' parameter
This commit is contained in:
Yann Lanthony 2019-04-26 10:42:41 +02:00
parent ff00b192bc
commit 275c4133fe
No known key found for this signature in database
GPG key ID: 519FAE6DF7A70642

View file

@ -269,7 +269,8 @@ class Range:
"rangeStart": self.start,
"rangeEnd": self.end,
"rangeLast": self.last,
"rangeBlockSize": self.effectiveBlockSize,
"rangeBlockSize": self.blockSize,
"rangeEffectiveBlockSize": self.effectiveBlockSize,
"rangeFullSize": self.fullSize,
}