SCM Repository
View of /branches/pure-cfg/src/lib/common/util.c
Parent Directory
|
Revision Log
Revision 1276 -
(download)
(as text)
(annotate)
Mon Jun 6 12:07:05 2011 UTC (10 years, 11 months ago) by jhr
File size: 397 byte(s)
Mon Jun 6 12:07:05 2011 UTC (10 years, 11 months ago) by jhr
File size: 397 byte(s)
Added timing support and fixed a build typo
/*! \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 <Diderot/diderot.h> #include <sys/time.h> double GetTime () { struct timeval tv; gettimeofday (&tv, 0); return (double)tv.tv_sec + 0.000001 * (double)tv.tv_usec; }
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |