File: src\libraries\System.Private.CoreLib\src\System\Diagnostics\Stopwatch.Unix.cs | Web Access |
Project: src\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj (System.Private.CoreLib) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Diagnostics { public partial class Stopwatch { private static long QueryPerformanceFrequency() { const long SecondsToNanoSeconds = 1000000000; return SecondsToNanoSeconds; } private static long QueryPerformanceCounter() { return (long)Interop.Sys.GetTimestamp(); } } } |