Skip to content
Snippets Groups Projects
Commit 97eda2f1 authored by David Goz's avatar David Goz :sleeping:
Browse files

get_time

parent 4f94e7ef
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment