title: How to measure time of julia program?
body: <p>If I want to calculate for things in Julia</p>
  
  <pre><code>invQa = ChebyExp(g-&gt;1/Q(g),0,1,5) 
  a1Inf = ChebyExp(g-&gt;Q(g),1,10,5)
  invQb = ChebyExp(g-&gt;1/Qd(g),0,1,5)
  Qb1Inf = ChebyExp(g-&gt;Qd(g),1,10,5)
  </code></pre>
  
  <p>How can I count the time? How many seconds do i have to wait for the four things up be done? Do I put <code>tic()</code> at the beginning and <code>toc()</code> at the end? </p>
  
  <p>I tried <code>@elapsed</code>, but no results.</p>