Stopwatch.GetElapsedTime 메서드

정의

오버로드

Name Description
GetElapsedTime(Int64)

startingTimestamp사용하여 검색된 GetTimestamp() 값 이후 경과된 시간을 가져옵니다.

GetElapsedTime(Int64, Int64)

GetTimestamp()사용하여 검색된 두 타임스탬프 사이의 경과된 시간을 가져옵니다.

GetElapsedTime(Int64)

Source:
Stopwatch.cs
Source:
Stopwatch.cs
Source:
Stopwatch.cs
Source:
Stopwatch.cs
Source:
Stopwatch.cs

startingTimestamp사용하여 검색된 GetTimestamp() 값 이후 경과된 시간을 가져옵니다.

public:
 static TimeSpan GetElapsedTime(long startingTimestamp);
public static TimeSpan GetElapsedTime(long startingTimestamp);
static member GetElapsedTime : int64 -> TimeSpan
Public Shared Function GetElapsedTime (startingTimestamp As Long) As TimeSpan

매개 변수

startingTimestamp
Int64

기간의 시작을 표시하는 타임스탬프입니다.

반품

시작 타임스탬프와 이 호출 시간 사이의 경과된 시간에 대한 A TimeSpan 입니다.

적용 대상

GetElapsedTime(Int64, Int64)

Source:
Stopwatch.cs
Source:
Stopwatch.cs
Source:
Stopwatch.cs
Source:
Stopwatch.cs
Source:
Stopwatch.cs

GetTimestamp()사용하여 검색된 두 타임스탬프 사이의 경과된 시간을 가져옵니다.

public:
 static TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp);
public static TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp);
static member GetElapsedTime : int64 * int64 -> TimeSpan
Public Shared Function GetElapsedTime (startingTimestamp As Long, endingTimestamp As Long) As TimeSpan

매개 변수

startingTimestamp
Int64

기간의 시작을 표시하는 타임스탬프입니다.

endingTimestamp
Int64

기간의 끝을 표시하는 타임스탬프입니다.

반품

TimeSpan 시작 및 종료 타임스탬프 사이의 경과된 시간에 대한 A입니다.

적용 대상