misc: Merge branch 'release-staging-v21-0' into develop

Change-Id: I0ad043ded56fb848e045057a1e7a56ea39797906
This commit is contained in:
Bobby R. Bruce
2021-03-18 11:13:14 -07:00
49 changed files with 9819 additions and 226 deletions

View File

@@ -166,7 +166,7 @@ Root::timeSyncSpinThreshold(Time newThreshold)
timeSyncEnable(en);
}
Root::Root(const RootParams &p)
Root::Root(const RootParams &p, int)
: SimObject(p), _enabled(false), _periodTick(p.time_sync_period),
syncEvent([this]{ timeSync(); }, name())
{
@@ -216,5 +216,5 @@ RootParams::create() const
FullSystem = full_system;
FullSystemInt = full_system ? 1 : 0;
return new Root(*this);
return new Root(*this, 0);
}

View File

@@ -134,7 +134,9 @@ class Root : public SimObject
PARAMS(Root);
Root(const Params &p);
// The int parameter is ignored, it's just so we can define a custom
// create() method.
Root(const Params &p, int);
/** Schedule the timesync event at startup().
*/