title: How to calculate and print clock_t time roughly
body: <p>I am timing how long it takes to do three different types of searches, sequential, recursive binary, and iterative binary.  I have those in place, and it does iterate through and finish the search.  My problem is that when I time them all, I get 0 for all of them every time, even if I make an array of 100,000, and I have it search for something not in the array.  If I set a break point in the search it obviously makes the time longer, and it gives me a reasonable time that I can work with.  But otherwise it is always 0.  Here is my code, it is similar for all three search timers.</p>
  
  <pre><code> clock_t recStart = clock();
   mySearch.recursiveSearch(SEARCH_INT);
   clock_t recEnd = clock();
   clock_t recDiff = recEnd - recStart;
   double recClockTime = (double)recDiff/(double)CLOCKS_PER_SEC;
   cout &lt;&lt; recClockTime &lt;&lt; endl;
  
   cout &lt;&lt; CLOCKS_PER_SEC &lt;&lt; endl;
  
   cout &lt;&lt; recClockTime &lt;&lt; endl;
  </code></pre>
  
  <p>For the last two I get <code>1000</code> and <code>0</code>.</p>
  
  <p>Am I doing something wrong here?  Or is it in my search Object?</p>