Bugzilla – Bug 2127
Scheduler benchmark utility works correctly in first run only
Last modified: 2015-06-25 00:51:27 UTC
Created attachment 2049 [details] bench simulator fixes The benchmark tool in 'utils/bench-simulator.cc' seems to deviate from the intended behavior in the following ways that may cause misleading results: 1. The simulator is destroyed between benchmark runs. Hence, all but the first run fall back to the default map scheduler instead of using the scheduler selected by the user. 2. The variable m_count, which is used to count the number of events already created during a benchmark run, is not reset between runs. Hence, in all but the first run, the event callback returns immediately without creating further events, i.e., no HOLD operations are performed. 3. Trivial issue: (m_total + 1) instead of m_total events are created during the benchmark. The patch in the attachment attempts to correct the three issues.
will test and apply if no further comments
committed in changeset 11464:30814be878cd