FACT++  1.0
void dim_print_date_time_millis ( )

Definition at line 157 of file utilities.c.

References dim_print_date_time().

Referenced by do_update_service().

158 {
159  int millies;
160 
161 #ifdef WIN32
162  struct timeb timebuf;
163 #else
164  struct timeval tv;
165  struct timezone *tz;
166 #endif
167 
168 #ifdef WIN32
169  ftime(&timebuf);
170  millies = timebuf.millitm;
171 #else
172  tz = 0;
173  gettimeofday(&tv, tz);
174  millies = (int)tv.tv_usec / 1000;
175 #endif
177  printf("milliseconds: %d ", millies);
178 }
void dim_print_date_time()
Definition: utilities.c:134

+ Here is the call graph for this function:

+ Here is the caller graph for this function: