FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
static int get_current_time
(
int *
millies
)
static
Definition at line
224
of file
dtq.c
.
Referenced by
get_elapsed_time()
,
start_it()
, and
stop_it()
.
225
{
226
int
secs;
227
#ifdef WIN32
228
struct
timeb timebuf;
229
#else
230
struct
timeval tv;
231
struct
timezone *tz;
232
#endif
233
234
#ifdef WIN32
235
ftime(&timebuf);
236
secs = (int)timebuf.time;
237
*millies = timebuf.millitm;
238
#
else
239
tz = 0;
240
gettimeofday(&tv, tz);
241
secs = (int)tv.tv_sec;
242
*millies = (
int
)tv.tv_usec / 1000;
243
#endif
244
return
secs;
245
}
Here is the caller graph for this function:
dim
src
dtq.c
Generated on Sun Sep 18 2016 20:50:30 for FACT++ by
1.8.11