Module tvbrowser
Package util.io

Class Profiler


  • @Deprecated(since="3.0")
    public class Profiler
    extends java.lang.Object
    Deprecated.
    since 3.0
    A little helper class that allows a simple profiling (time measuring).
    Author:
    Til Schneider, www.murfman.de
    • Constructor Summary

      Constructors 
      Constructor Description
      Profiler()
      Deprecated.
      Creates a new instance of Profiler.
    • Constructor Detail

      • Profiler

        public Profiler()
        Deprecated.
        Creates a new instance of Profiler.
    • Method Detail

      • getDefault

        public static Profiler getDefault()
        Deprecated.
        Gets the default profiler.
        Returns:
        the default profiler.
      • show

        public void show​(java.lang.String text)
        Deprecated.
        Shows the stopped time. And starts a new time measure.

        The printing of the result is not measured, of corse.

        Parameters:
        text - A text that allows you to identify the location in the code.