Skip to content

Commit

Permalink
Fix result not using TotalMilliseconds on single patch
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-nyan committed Jul 23, 2023
1 parent b06b45d commit 461dc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hi3Helper.SharpHDiffPatch/PatchSingle/PatchSingle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void StartPatchRoutine(Stream inputStream, Stream outputStream)
stopwatch.Stop();

TimeSpan timeTaken = stopwatch.Elapsed;
Console.WriteLine($"Patch has been finished in {timeTaken.TotalSeconds} seconds ({timeTaken.Milliseconds} ms)");
Console.WriteLine($"Patch has been finished in {timeTaken.TotalSeconds} seconds ({timeTaken.TotalMilliseconds} ms)");
}
}
}

0 comments on commit 461dc47

Please sign in to comment.