mirror of https://github.com/YosysHQ/yosys.git
- libs/minisat/Solver.cc: insert spaces between string and PRIu64 literal, otherwise c++11-compliant compilers will bail out due to user-defined literals (minisat bug tracker #13).
This commit is contained in:
parent
948d04c06c
commit
18367919ea
|
@ -994,11 +994,11 @@ void Solver::printStats() const
|
|||
{
|
||||
double cpu_time = cpuTime();
|
||||
double mem_used = memUsedPeak();
|
||||
printf("restarts : %"PRIu64"\n", starts);
|
||||
printf("conflicts : %-12"PRIu64" (%.0f /sec)\n", conflicts , conflicts /cpu_time);
|
||||
printf("decisions : %-12"PRIu64" (%4.2f %% random) (%.0f /sec)\n", decisions, (float)rnd_decisions*100 / (float)decisions, decisions /cpu_time);
|
||||
printf("propagations : %-12"PRIu64" (%.0f /sec)\n", propagations, propagations/cpu_time);
|
||||
printf("conflict literals : %-12"PRIu64" (%4.2f %% deleted)\n", tot_literals, (max_literals - tot_literals)*100 / (double)max_literals);
|
||||
printf("restarts : %" PRIu64 "\n", starts);
|
||||
printf("conflicts : %-12" PRIu64 " (%.0f /sec)\n", conflicts , conflicts /cpu_time);
|
||||
printf("decisions : %-12" PRIu64 " (%4.2f %% random) (%.0f /sec)\n", decisions, (float)rnd_decisions*100 / (float)decisions, decisions /cpu_time);
|
||||
printf("propagations : %-12" PRIu64 " (%.0f /sec)\n", propagations, propagations/cpu_time);
|
||||
printf("conflict literals : %-12" PRIu64 " (%4.2f %% deleted)\n", tot_literals, (max_literals - tot_literals)*100 / (double)max_literals);
|
||||
if (mem_used != 0) printf("Memory used : %.2f MB\n", mem_used);
|
||||
printf("CPU time : %g s\n", cpu_time);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue