// /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // Filename : ScanResults.cs // Author(s) : Natalia Portillo // // Component : Core algorithms. // // --[ Description ] ---------------------------------------------------------- // // Contains structure to store scan results. // // --[ License ] -------------------------------------------------------------- // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2019 Natalia Portillo // ****************************************************************************/ using System.Collections.Generic; namespace DiscImageChef.Core.Devices.Scanning { /// /// Contains the results of a media scan /// public struct ScanResults { /// /// Total time spent scanning /// public double TotalTime; /// /// Total time spent by the device processing commands /// public double ProcessingTime; /// /// Average scan speed /// public double AvgSpeed; /// /// Maximum scan speed burst /// public double MaxSpeed; /// /// Minimum scan speed /// public double MinSpeed; /// /// Sectors that took less than 3 milliseconds to be processed /// public ulong A; /// /// Sectors that took less than 10 milliseconds but more than 3 milliseconds to be processed /// public ulong B; /// /// Sectors that took less than 50 milliseconds but more than 10 milliseconds to be processed /// public ulong C; /// /// Sectors that took less than 150 milliseconds but more than 50 milliseconds to be processed /// public ulong D; /// /// Sectors that took less than 500 milliseconds but more than 150 milliseconds to be processed /// public ulong E; /// /// Sectors that took more than 500 milliseconds to be processed /// public ulong F; /// /// List of sectors that could not be read /// public List UnreadableSectors; /// /// Slowest seek /// public double SeekMax; /// /// Fastest seek /// public double SeekMin; /// /// Total time spent seeking /// public double SeekTotal; /// /// How many seeks have been done /// public int SeekTimes; /// /// How many blocks were scanned /// public ulong Blocks; /// /// How many blocks could not be read /// public ulong Errored; } }