mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-12-02 12:33:56 +01:00
Release Candidate
This commit is contained in:
@@ -105,6 +105,10 @@ double telemetry::calc_telemetry_data(size_t iLastMilisec, size_t iThread)
|
||||
if (!bHaveFullSet || iEarliestStamp == 0 || iLastestStamp == 0)
|
||||
return nan("");
|
||||
|
||||
//Don't think that can happen, but just in case
|
||||
if (iLastestStamp - iEarliestStamp == 0)
|
||||
return nan("");
|
||||
|
||||
double fHashes, fTime;
|
||||
fHashes = iLastestHashCnt - iEarliestHashCnt;
|
||||
fTime = iLastestStamp - iEarliestStamp;
|
||||
|
||||
Reference in New Issue
Block a user