|
|
@@ -76,7 +76,7 @@ namespace NTMiner.Core.Gpus.Impl {
|
|
|
}
|
|
|
#if DEBUG
|
|
|
var elapsedMilliseconds = Write.Stopwatch.Stop();
|
|
|
- if (elapsedMilliseconds.ElapsedMilliseconds > 20) {
|
|
|
+ if (elapsedMilliseconds.ElapsedMilliseconds > NTStopwatch.ElapsedMilliseconds) {
|
|
|
Write.DevTimeSpan($"耗时{elapsedMilliseconds} {this.GetType().Name}.ctor");
|
|
|
}
|
|
|
#endif
|
|
|
@@ -91,7 +91,7 @@ namespace NTMiner.Core.Gpus.Impl {
|
|
|
}
|
|
|
#if DEBUG
|
|
|
var elapsedMilliseconds = Write.Stopwatch.Stop();
|
|
|
- if (elapsedMilliseconds.ElapsedMilliseconds > 20) {
|
|
|
+ if (elapsedMilliseconds.ElapsedMilliseconds > NTStopwatch.ElapsedMilliseconds) {
|
|
|
Write.DevTimeSpan($"耗时{elapsedMilliseconds} {this.GetType().Name}.{nameof(LoadGpuState)}");
|
|
|
}
|
|
|
#endif
|