/*! \file util.c * * \author John Reppy * * \brief Miscellaneous utility functions. */ /* * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu) * All rights reserved. */ #include #include double GetTime () { struct timeval tv; gettimeofday (&tv, 0); return (double)tv.tv_sec + 0.000001 * (double)tv.tv_usec; }
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: val tv; gettimeofday (&tv, 0); return (double)tv.tv_sec + 0.000001 * (double)tv.tv_usec; }