mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add many more stopwatches
This commit is contained in:
@@ -120,6 +120,8 @@ namespace SabreTools.DatTools
|
||||
{
|
||||
bool success = true;
|
||||
|
||||
InternalStopwatch watch = new InternalStopwatch("Verifying all from supplied paths");
|
||||
|
||||
// Force bucketing according to the flags
|
||||
datFile.Items.SetBucketedBy(ItemKey.NULL);
|
||||
if (hashOnly)
|
||||
@@ -143,6 +145,8 @@ namespace SabreTools.DatTools
|
||||
datFile.Items[key] = items;
|
||||
}
|
||||
|
||||
watch.Stop();
|
||||
|
||||
// Set fixdat headers in case of writing out
|
||||
datFile.Header.FileName = $"fixDAT_{datFile.Header.FileName}";
|
||||
datFile.Header.Name = $"fixDAT_{datFile.Header.Name}";
|
||||
|
||||
Reference in New Issue
Block a user