src/work/marci/time_measure.h
changeset 123 2d1da2e1644a
parent 118 38e16c594a4f
child 124 8d24100ad408
equal deleted inserted replaced
2:cc6a63024306 3:a53fef15c6da
     4 
     4 
     5 #include <sys/time.h>
     5 #include <sys/time.h>
     6 #include <sys/times.h>
     6 #include <sys/times.h>
     7 #include <fstream>
     7 #include <fstream>
     8 #include <iostream>
     8 #include <iostream>
       
     9 #include <unistd.h>
     9 
    10 
    10 double currTime() {
    11 double currTime() {
    11   timeval tv;
    12   timeval tv;
    12   //timezone tz;
    13   //timezone tz;
    13   gettimeofday(&tv, 0);
    14   gettimeofday(&tv, 0);