CS 584 Lecture 12
Assignment?
Timing
#include <sys/time.h>
double When()
{
struct timeval tp;
gettimeofday(&tp, NULL);
return((double)tp.tv_sec + (double)tp.tv_usec * 1e-6);
}
Next slide
Back to first slide
View graphic version