mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-17 09:43:47 +00:00
- Improved eta calculation
This commit is contained in:
parent
fb9f8d28f4
commit
e407679d2b
@ -128,7 +128,7 @@ public class IrisPregenerator {
|
|||||||
// If yes, use smooth function (which gets more accurate over time since its less sensitive to outliers)
|
// If yes, use smooth function (which gets more accurate over time since its less sensitive to outliers)
|
||||||
((totalChunks.get() - generated.get()) * ((double) (M.ms() - startTime.get()) / (double) generated.get())) :
|
((totalChunks.get() - generated.get()) * ((double) (M.ms() - startTime.get()) / (double) generated.get())) :
|
||||||
// If no, use quick function (which is less accurate over time but responds better to the initial delay)
|
// If no, use quick function (which is less accurate over time but responds better to the initial delay)
|
||||||
((totalChunks.get() - generated.get()) / chunksPerSecond.getAverage()) * 1000 //
|
((totalChunks.get() - generated.get()) / chunksPerSecond.getAverage()) * 100 //
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user