CPP   33
timer timer base line
Guest on 19th September 2023 08:02:35 AM


  1. timer::timer() { baseline = false; }
  2. void timer::start(unsigned int r, unsigned long N)
  3. {
  4.   reps = r;
  5.   problem_size = N;
  6.   count = 0;
  7.   iterations.clear();
  8.   iterations.reserve(reps);
  9.   initial = time(0);
  10. }

Raw Paste

Login or Register to edit or fork this paste. It's free.