Output the header information to the formula log.

The header information for now contains relevant formula calculation
configuration settings.

Change-Id: Ia6f8b84a3a6fa448708b9a78957002481c3a1c67
This commit is contained in:
Kohei Yoshida
2016-11-03 19:42:22 -04:00
parent c35fa61e25
commit c7aa57bc6b

View File

@@ -152,7 +152,14 @@ FormulaLogger::FormulaLogger()
return; return;
} }
// Output the header information.
writeAscii("---\n"); writeAscii("---\n");
writeAscii("OpenCL: ");
writeAscii(ScCalcConfig::isOpenCLEnabled() ? "enabled\n" : "disabled\n");
writeAscii("Software Interpreter: ");
writeAscii(ScCalcConfig::isSwInterpreterEnabled() ? "enabled\n" : "disabled\n");
writeAscii("---\n");
sync(); sync();
} }