Skip to content

Commit

Permalink
Merge pull request #221 from sy-c/master
Browse files Browse the repository at this point in the history
v2.10.3
  • Loading branch information
sy-c authored May 5, 2022
2 parents 27402a0 + 868b82a commit 178de47
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions doc/releaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,3 +454,6 @@ This file describes the main feature changes for each readout.exe released versi

## v2.10.2 - 04/05/2022
- Added some buffer monitoring counters. They are logged in console stats and in monitoring (readout.bufferUsage, one per buffer, from 0% to 100%).

## v2.10.3 - 05/05/2022
- Bug fixed in the readout TF rate regulator (was ineffective after 35 minutes = 2^31 microseconds - wrong variable width in a conversion).
2 changes: 1 addition & 1 deletion src/RateRegulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class RateRegulator {
void updateTimeNext() {
if (tnextCount >= tnextFullRefreshInterval) {
// full update, calculated from t0
tnext = t0 + std::chrono::microseconds((int)(nItemsAccepted * period));
tnext = t0 + std::chrono::microseconds((unsigned long long)(nItemsAccepted * period));
tnextCount = 1;
} else {
// quick update, by incrementing period
Expand Down
2 changes: 1 addition & 1 deletion src/ReadoutVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

#define READOUT_VERSION "2.10.2"
#define READOUT_VERSION "2.10.3"

0 comments on commit 178de47

Please sign in to comment.