mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 16:15:34 +00:00
Do not qualify Stopwatch fully, to allow it to be overridden by Minimal.cs if necessary.
This commit is contained in:
parent
7f3829acca
commit
4f2ac1753b
|
@ -129,9 +129,9 @@ namespace OpenTK
|
||||||
if (delegates == null)
|
if (delegates == null)
|
||||||
throw new InvalidOperationException("The specified type does not have any loadable extensions.");
|
throw new InvalidOperationException("The specified type does not have any loadable extensions.");
|
||||||
|
|
||||||
Debug.Write("Load extensions for " + this.GetType().FullName + "... ");
|
Debug.Write("Loading extensions for " + this.GetType().FullName + "... ");
|
||||||
|
|
||||||
System.Diagnostics.Stopwatch time = new System.Diagnostics.Stopwatch();
|
Stopwatch time = new Stopwatch();
|
||||||
time.Reset();
|
time.Reset();
|
||||||
time.Start();
|
time.Start();
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ namespace OpenTK
|
||||||
rebuildExtensionList = true;
|
rebuildExtensionList = true;
|
||||||
|
|
||||||
time.Stop();
|
time.Stop();
|
||||||
Debug.Print("{0} extensions loaded in {1} ms.", supported, time.ElapsedMilliseconds);
|
Debug.Print("{0} extensions loaded in {1} ms.", supported, time.Elapsed.TotalMilliseconds);
|
||||||
time.Reset();
|
time.Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue