Class SectionCategory

java.lang.Object
com.mojang.jtracy.SectionCategory

public class SectionCategory extends Object
  • Method Details

    • enterSection

      public Section enterSection(String name)
      Marks the start of a section under this category.

      Sections are high level concepts that represent the logic of your application and do not need to be handled as a stack. Therefore, you may enter or leave sections at any time, even if they overlap.

      Parameters:
      name - Name of the section to display
      Returns:
      A Section object that can be closed when the section is finished.