Commit 97eda2f1 authored by David Goz's avatar David Goz 😴
Browse files

get_time

parent 4f94e7ef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -52,6 +52,8 @@ void Show_2DdblArray(const MyData **const A,
double seconds()
{
  struct timeval tmp;

  /** could be improved ***/
  gettimeofday(&tmp, (struct timezone *)0);
  double sec = tmp.tv_sec + ((double)tmp.tv_usec)/1000000.0;