CodeTrack: Rescoping

Back to How To

Rescoping allows you to select one or more ranges in your timeline and then only get performance info for the selected ranges. This enables you to zoom in on particular moments of your applications lifetime. Rescoping affects every view on your data. This means not only the timeline itself gets sliced, but also the information in the thread views, list view, exceptions, assembly view etc.

How to rescope

  1. Goto the timeline view
  2. Select one more ranges in the ticks header. You can do this in 2 ways:
    • Simply click your left mousebutton in the ticks header at the start of your range. Then drag your mouse to the end of the range and release the mouse button. You should now have 2 markers and a slected range in between (marked by the blue color band).




    • You can double click anywhere in the ticks header to add 1 or more markers. Next, you can single click between markers to select or deselect ranges.
    You can zoom in (CTRL + Mouse scroll up) on a marker and position it more exact if needed.
    Markers can be deleted by double clicking on them. Ranges can be selected or deselected by single clicking between the markers.
  3. When you are happy with the selected ranges, click the rescope button to rescope to the selected ranges.
  4. After rescoping you should see that the timeline, as well as all other parts reflect this change ("Per Thread", "All", "List", Exception overview, Thread filtering,...)

  5. Important note:

    The data that will be in scope is the data of every green tick in your range. In other words: if you select a range not containing any sample (green tick), you will have no data left.
    Another consequence is that possibly there will be methods in your trees that seem to be out of your selected range, this is because their sample (green tick) does appear in your range.
    The easiest way to grasp this, is to realize that if you select a sample (green tick), all methods that occur after this tick and before the next tick are added to your selected range.

Going back to a previous or the full scope

  1. Goto the timeline view
  2. Click on the arrow next to the rescope button
  3. Now select an item in the rescope history to rollback to that scope.