title: Creating a Timer class, what data type should I use to hold values? (C/C++)
body: <p>I'm creating a simple timer class which returns me e.g. the current time in millis. On linux I'm using gettimeofday. I'm wondering what return type this function should have.  i.e.
  <code>double getMillis()</code> or <code>uint64_t getMillis()</code> etc... I would say <code>uint64_t</code> can hold bigger values and therefore recommended, though while googling I see lots of different implementations.</p>
  
  <p>Any advice on this?</p>
  
  <p>Thanks </p>