CalculateETA 2.4.0
See the version list below for details.
dotnet add package CalculateETA --version 2.4.0
NuGet\Install-Package CalculateETA -Version 2.4.0
<PackageReference Include="CalculateETA" Version="2.4.0" />
paket add CalculateETA --version 2.4.0
#r "nuget: CalculateETA, 2.4.0"
// Install CalculateETA as a Cake Addin #addin nuget:?package=CalculateETA&version=2.4.0 // Install CalculateETA as a Cake Tool #tool nuget:?package=CalculateETA&version=2.4.0
CalculateETA
CalculateETA is a project to calculate estimated time to arrive on loops whether it is in single-thread or multi-thread applicatons.
Description
CalculateETA has methods to calculate estimated time to finish on the loops. It calculates left count of the iteration and avarage passed time on the loop then multiply left count with avarage passed time. On multi-thread applications, it has internal counter that increases everytime methods are called. With using counter calculating left count of the loop and avarage passed time on the loop then multiply left count with avarage passed time.
CalculateETA is optimized for CPU-intense applications which methods are named Unsafe as suffix such as CalcUnsafe() and NameETAUnsafe().
Example Usage
string CalcSTCPUIntense(int? index, int? totalIndex, double? totalElapsedTimeInMs)
{
return NameETAUnsafe(CalcETAUnsafe(index, totalIndex, totalElapsedTimeInMs));
}
string CalcSTBetterVisual(int? index, int? totalIndex, double? totalElapsedTimeInMs)
{
return NameETABetterVisual(CalcETA(index, totalIndex, totalElapsedTimeInMs));
}
string CalcMultiThread(uint? totalIndex, long? totalElapsedTicks)
{
return NameETA(CalcETAHighDense(totalIndex, totalElapsedTicks));
}
To check listed methods, example of output visit wiki page. CalculateETA Wiki
Version History
See Changelog
Task list
- Create an issue or check task list: Issues
Licence
This repository is licensed under the "MIT" license. See MIT license.
Authors & Contributing
If you'd like to contribute, then contribute. contributing guide.
Help
Twitter: Enes Okullu @enesokullu
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
v2.4.0
* CalcMultiThread.cs and CalcSingleThread.cs files are added.
* ClearListInDouble(), ClearListInLong(), GetCountListInDouble() and GetCountListInLong() method are added under Report.cs. (#71)
* NameETA(double etaTime), NameETAUnsafe(double etaTime), NameETABetterVisual(double etaTime), NameETABetterVisualUnsafe(double etaTime), NumberFormatETA(double etaTime) and NumberFormatETAUnsafe(double etaTime) methods are added for naming values in double under Visualizations.cs
* NameETAUnSafe(double etaTime) renamed as NameETAUnsafe(double etaTime).
* NameETABetterVisual(long? etaTimeInMs), NameETABetterVisual(double? etaTime), NameETABetterVisualUnsafe(long etaTimeInMs) and NameETABetterVisualUnsafe(double etaTime) was adding additional space.
See changelog (https://github.com/meokullu/CalculateETA/blob/master/CHANGELOG.md)