Search Results for

    Show / Hide Table of Contents

    Struct Stopwatch

    High-resolution performance counter based on Platform::GetTimeSeconds.

    Assembly: FlaxEngine.dll
    File: Engine/Core/Types/Stopwatch.h
    Syntax
    public struct Stopwatch

    Constructors

    Stopwatch()

    Declaration
    public Stopwatch()

    Methods

    GetMilliseconds()

    Gets the milliseconds time.

    Declaration
    public int32 GetMilliseconds() const
    Returns
    int32

    GetTotalMilliseconds()

    Gets the total number of milliseconds.

    Declaration
    public double GetTotalMilliseconds() const
    Returns
    double

    GetTotalSeconds()

    Gets the total number of seconds.

    Declaration
    public float GetTotalSeconds() const
    Returns
    float

    Start()

    Declaration
    public void Start()

    Stop()

    Declaration
    public void Stop()
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • Stopwatch()
    • Methods
      • GetMilliseconds()
      • GetTotalMilliseconds()
      • GetTotalSeconds()
      • Start()
      • Stop()
    Back to top Copyright © 2012-2024 Wojciech Figat