Class Stopwatch

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: System.Private.CoreLib
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Diagnostics.Stopwatch
        See Also:
        Constant Field Values
      • classType

        public static JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • Stopwatch

        public Stopwatch​(java.lang.Object instance)
                  throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • Stopwatch

        public Stopwatch()
                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • GetTimestamp

        public static long GetTimestamp()
                                 throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • StartNew

        public static Stopwatch StartNew()
                                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • GetElapsedTime

        public static TimeSpan GetElapsedTime​(long startingTimestamp,
                                              long endingTimestamp)
                                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • GetElapsedTime

        public static TimeSpan GetElapsedTime​(long startingTimestamp)
                                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Reset

        public void Reset()
                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Restart

        public void Restart()
                     throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Start

        public void Start()
                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Stop

        public void Stop()
                  throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getIsRunning

        public boolean getIsRunning()
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getElapsedMilliseconds

        public long getElapsedMilliseconds()
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getElapsedTicks

        public long getElapsedTicks()
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getElapsed

        public TimeSpan getElapsed()
                            throws java.lang.Throwable
        Throws:
        java.lang.Throwable