<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="optimizer-trace-implementation">
      </a>
      10.15.16 Optimizer Trace Implementation
     </h3>
    </div>
   </div>
  </div>
  <p>
   See the files
   <code class="filename">
    sql/opt_trace*
   </code>
   , starting with
   <code class="filename">
    sql/opt_trace.h
   </code>
   . A trace is started by
      creating an instance of
   <code class="literal">
    Opt_trace_start
   </code>
   ;
      information is added to this trace by creating instances of
   <code class="literal">
    Opt_trace_object
   </code>
   and
   <code class="literal">
    Opt_trace_array
   </code>
   , and by using the
   <code class="literal">
    add()
   </code>
   methods of these classes.
  </p>
 </div>
 <br/>
</div>
