display used time to shred drive
This commit is contained in:
@ -37,6 +37,7 @@ private:
|
||||
uint32_t u32PowerCycles = 0U;
|
||||
time_t u32Timestamp = 0U; //unix timestamp for detecting a frozen drive
|
||||
double d32TaskPercentage = 0U; //in percent for Shred (1 to 100)
|
||||
time_t u32TimestampTaskStart = 0U; //unix timestamp for duration of an action
|
||||
|
||||
private:
|
||||
void setTimestamp();
|
||||
@ -75,6 +76,9 @@ public:
|
||||
void setTaskPercentage(double d32TaskPercentage);
|
||||
double getTaskPercentage(void);
|
||||
|
||||
void setActionStartTimestamp();
|
||||
time_t getActionStartTimestamp();
|
||||
|
||||
};
|
||||
|
||||
#endif // DRIVE_H_
|
Reference in New Issue
Block a user