title: An algorithm for estimating the runtime for a program
body: <p>I need to find the total timings for the execution of a program over different inputs. The program reads some data and writes it into another file. The values of the data value and the size of the data are different every time. </p>
  
  <p>I want to find how long it will take in general for all size of data.</p>
  
  <p>Is the algorithm for finding this based on the total timings of the program for a single execution? </p>
  
  <p>For Example, if I know </p>
  
  <pre><code>for single execution 
  a.program - execution time   1.2sec 
            - its create file  100 kb file 
  </code></pre>
  
  <p>Can I find out how long it will take for n executions, on a different data size?</p>