#19 Move parts of solver into its own package. #22
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user