Skip to content
Snippets Groups Projects

Sort scheduler debugging dumps in a well-defined order.

Merged Scott Snyder requested to merge ssnyder/Gaudi:DataObjIDSort-20170523 into atlas/v28r2
  1. May 23, 2017
    • scott snyder's avatar
      Sort scheduler debugging dumps in a reproducible order. · 333297ff
      scott snyder authored
      In several places, AvalancheSchedulerSvc dumps out sets of DataObjID objects
      by iterating over an unordered_set of them.  However, the ordering of this
      iteration is undefined and can, and does, vary between different compilers
      and different versions of the same compiler.  This means that the ordering
      of the output can vary depending on the compiler, which is inconvenient
      for regression tests.
      
      This change adds a sorting step so that the DatObjID sets are printed
      in a well-defined order.  This only affects the dumps, so should
      not be a performance issue.
      333297ff
Loading