#19 Move parts of solver into its own package. #22

Merged
sacha merged 8 commits from #19_the-great-refactor into trunk 2025-01-28 00:07:07 +01:00
Showing only changes of commit 3bcb5b95e7 - Show all commits

View File

@ -152,9 +152,10 @@ func (solver *Solver) Tracker() {
est, err := time.ParseDuration(duration_string)
if err != nil {
est_fin = "parse error"
}
} else {
est_fin = est.String()
}
}
// Printing the progress
log.Println("Processing: " + strconv.Itoa(int(percentage)) + "% (" + strconv.FormatInt(solver.counter.Load(), 10) + "/" + strconv.Itoa(int(solver.Iter)) + "); Rate: " + strconv.FormatInt(rateDiff, 10) + "/sec for " + timer_elapsed.String() + "; Time left (est.): " + est_fin)