org.graphstream.ui.util

FPSLogger

class FPSLogger extends AnyRef

Very simple logger for Frame-Per-Second measurements.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FPSLogger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FPSLogger(fileName: String)

    fileName

    The name of the file where measurements will be written, frame by frame.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var T1: Long

    Start time for a frame.

    Start time for a frame.

    Attributes
    protected
  7. var T2: Long

    End Time for a frame.

    End Time for a frame.

    Attributes
    protected
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def beginFrame(): Unit

    Start a new frame measurement.

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def close(): Unit

    Ensure the log file is flushed and closed.

    Ensure the log file is flushed and closed. Be careful, calling endFrame() after close() will reopen the log file and erase prior measurements.

  12. def endFrame(): Unit

    End a frame measurement and save the instantaneous FPS measurement in the file indicated at construction time.

    End a frame measurement and save the instantaneous FPS measurement in the file indicated at construction time.

    If the writer for the log file was not yet open, create it. You can use close() to ensure the log file is flushed and closed.

    The output is made of a descriptive header followed by a frame description on each line. A frame description contains the instantaneous FPS measurement and the time in millisecond the frame lasted.

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. val fileName: String

    The name of the file where measurements will be written, frame by frame.

    The name of the file where measurements will be written, frame by frame.

    Attributes
    protected
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. var out: PrintStream

    Output channel.

    Output channel.

    Attributes
    protected
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped