Nevron Open Vision Documentation
Nevron.Nov Namespace / NStopwatch Class / GetComparisonString Method
The first stopwatch to take part in the comparison.
The second stopwatch to take part in the comparison.


In This Topic
    GetComparisonString Method
    In This Topic
    Gets a string that states which of the given stopwatches represents a faster operation and how much faster it is.
    Syntax
    'Declaration
     
    
    Public Shared Function GetComparisonString( _
       ByVal s1 As NStopwatch, _
       ByVal s2 As NStopwatch _
    ) As System.String
    'Usage
     
    
    Dim s1 As NStopwatch
    Dim s2 As NStopwatch
    Dim value As System.String
     
    value = NStopwatch.GetComparisonString(s1, s2)
    public static System.string GetComparisonString( 
       NStopwatch s1,
       NStopwatch s2
    )

    Parameters

    s1
    The first stopwatch to take part in the comparison.
    s2
    The second stopwatch to take part in the comparison.

    Return Value

    A string that states which of the given stopwatches represents a faster operation and how much faster it is.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also