protected synchronized void setup ( ) { registerAttributes ( logAttributeInfo , log ) ; for ( XTrace trace : log ) { numberOfTraces ++ ; registerAttributes ( traceAttributeInfo , trace ) ; XTimeBoundsImpl traceBounds = new XTimeBoundsImpl ( ) ; for ( XEvent event : trace ) { registerAttributes ( eventAttributeInfo , event ) ; for ( XEventClasses classes : this . eventClasses . values ( ) ) { classes . register ( event ) ; } traceBounds . register ( event ) ; numberOfEvents ++ ; } this . traceBoundaries . put ( trace , traceBounds ) ; this . logBoundaries . register ( traceBounds ) ; } // harmonize event class indices for ( XEventClasses classes : this . eventClasses . values ( ) ) { classes . harmonizeIndices ( ) ; } }
Creates the internal data structures of this summary on setup from the log .