Azavea.Open.Common.Chronometer.XmlElementReporter.ReportPrologue C# (CSharp) Method

ReportPrologue() public method

Display an xml prologue.
public ReportPrologue ( bool printDisclaimer ) : void
printDisclaimer bool Show the disclaimer text.
return void
            public void ReportPrologue(bool printDisclaimer)
            {
                if ( printDisclaimer ) {
                    _log.Info("<!-- DISCLAIMER: Operations that ran a very small number of times, yet supposedly\n" +
                              "                 took a very long time on average, may be ones that blocked on\n" +
                              "                 another call or operation for a long time.  For example:\n" +
                              "                 if every row that is read from a database is sent to a stone\n" +
                              "                 tablet engraver that takes 5 minutes per tablet, and the next\n" +
                              "                 row isn't read until the first one is finished being written,\n" +
                              "                 this report will say it took 15 minutes to read 3 rows.  That\n" +
                              "                 is technically true, but has nothing to do with the database\n" +
                              "                 or the code.  This report is to give you a general idea where\n" +
                              "                 to look for performance problems, not to be the One True\n" +
                              "                 Benchmarking Tool.");
                }
            }
Chronometer.XmlElementReporter