35 gettimeofday (&now, NULL);
37 return now.tv_sec - start_.tv_sec + 1e-6 * (now.tv_usec - start_.tv_usec);
45 gettimeofday (&start_, NULL);
49 struct timeval start_;
76 return compare(0, prefix.size(), prefix) == 0;
95 Tee (std::ostream & stream1,
96 std::ostream & stream2)
109 template <
typename T>
131 std::ostream & stream1_;
132 std::ostream & stream2_;