/dports/multimedia/libhdhomerun/libhdhomerun/ |
H A D | hdhomerun_channelscan.c | 76 uint64_t timeout = getcurrenttime() + 5000; in channelscan_find_lock() 87 if (getcurrenttime() >= timeout) { in channelscan_find_lock() 277 timeout = getcurrenttime() + 4000; in channelscan_detect() 279 timeout = getcurrenttime() + 10000; in channelscan_detect() 282 uint64_t complete_time = getcurrenttime() + 1000; in channelscan_detect() 292 complete_time = getcurrenttime() + 1000; in channelscan_detect() 295 if (!incomplete && (getcurrenttime() >= complete_time)) { in channelscan_detect() 299 if (getcurrenttime() >= timeout) { in channelscan_detect()
|
H A D | hdhomerun_os_windows.c | 26 return (uint32_t)getcurrenttime(); in random_get32() 45 return (uint32_t)getcurrenttime(); in random_get32() 52 uint64_t getcurrenttime(void) in getcurrenttime() function 64 uint64_t stop_time = getcurrenttime() + ms; in msleep_minimum() 67 uint64_t current_time = getcurrenttime(); in msleep_minimum()
|
H A D | hdhomerun_os_posix.c | 81 return (uint32_t)getcurrenttime(); in random_get32() 86 return (uint32_t)getcurrenttime(); in random_get32() 92 uint64_t getcurrenttime(void) in getcurrenttime() function 115 uint64_t stop_time = getcurrenttime() + ms; in msleep_minimum() 118 uint64_t current_time = getcurrenttime(); in msleep_minimum()
|
H A D | hdhomerun_debug.c | 243 timeout = getcurrenttime() + timeout; in hdhomerun_debug_flush() 245 while (getcurrenttime() < timeout) { in hdhomerun_debug_flush() 343 uint64_t current_time = getcurrenttime(); in hdhomerun_debug_output_message_file() 365 uint64_t current_time = getcurrenttime(); in hdhomerun_debug_output_message_sock()
|
H A D | hdhomerun_sock_posix.c | 401 uint64_t stop_time = getcurrenttime() + timeout; in hdhomerun_sock_send() 431 uint64_t current_time = getcurrenttime(); in hdhomerun_sock_send() 463 uint64_t stop_time = getcurrenttime() + timeout; in hdhomerun_sock_sendto() 493 uint64_t current_time = getcurrenttime(); in hdhomerun_sock_sendto()
|
/dports/net-mgmt/xymon-server/xymon-4.3.30/web/ |
H A D | report.c | 143 …if ((starttime == -1) || (endtime == -1) || (starttime > getcurrenttime(NULL))) errormsg("Invalid … in parse_query() 145 if (endtime > getcurrenttime(NULL)) endtime = getcurrenttime(NULL); in parse_query() 164 time_t killtime = getcurrenttime(NULL)-86400; in cleandir() 241 showform(stdout, "report", "report_form", COL_BLUE, getcurrenttime(NULL)-86400, NULL, NULL); in main() 264 …snprintf(dirid, sizeof(dirid), "%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NUL… in main() 283 …zeof(htmldelim)-1, "xymonrep-%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NULL)); in main()
|
H A D | snapshot.c | 97 if ((starttime == -1) || (starttime > getcurrenttime(NULL))) errormsg("Invalid parameters"); in parse_query() 107 time_t killtime = getcurrenttime(NULL)-86400; in cleandir() 180 showform(stdout, "snapshot", "snapshot_form", COL_BLUE, getcurrenttime(NULL), NULL, NULL); in main() 201 …snprintf(dirid, sizeof(dirid), "%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NUL… in main() 210 …zeof(htmldelim)-1, "xymonrep-%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NULL)); in main()
|
/dports/net-mgmt/xymon-client/xymon-4.3.30/web/ |
H A D | report.c | 143 …if ((starttime == -1) || (endtime == -1) || (starttime > getcurrenttime(NULL))) errormsg("Invalid … in parse_query() 145 if (endtime > getcurrenttime(NULL)) endtime = getcurrenttime(NULL); in parse_query() 164 time_t killtime = getcurrenttime(NULL)-86400; in cleandir() 241 showform(stdout, "report", "report_form", COL_BLUE, getcurrenttime(NULL)-86400, NULL, NULL); in main() 264 …snprintf(dirid, sizeof(dirid), "%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NUL… in main() 283 …zeof(htmldelim)-1, "xymonrep-%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NULL)); in main()
|
H A D | snapshot.c | 97 if ((starttime == -1) || (starttime > getcurrenttime(NULL))) errormsg("Invalid parameters"); in parse_query() 107 time_t killtime = getcurrenttime(NULL)-86400; in cleandir() 180 showform(stdout, "snapshot", "snapshot_form", COL_BLUE, getcurrenttime(NULL), NULL, NULL); in main() 201 …snprintf(dirid, sizeof(dirid), "%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NUL… in main() 210 …zeof(htmldelim)-1, "xymonrep-%lu-%u", (unsigned long)getpid(), (unsigned int)getcurrenttime(NULL)); in main()
|
/dports/net-mgmt/xymon-server/xymon-4.3.30/lib/ |
H A D | availability.c | 278 *starttime = getcurrenttime(NULL); in scan_historyfile() 284 if (scanres == 2) uidur = getcurrenttime(NULL)-uistart; in scan_historyfile() 298 if (scanres == 2) dur = getcurrenttime(NULL) - start; in scan_historyfile() 310 start = getcurrenttime(NULL); in scan_historyfile() 327 if (scanres == 2) dur = getcurrenttime(NULL) - start; in scan_historyfile() 332 start = getcurrenttime(NULL); in scan_historyfile() 387 repinfo->reportstart = getcurrenttime(NULL); in parse_historyfile() 403 if (totime > getcurrenttime(NULL)) totime = getcurrenttime(NULL); in parse_historyfile() 414 if (scanres == 2) duration = getcurrenttime(NULL) - starttime; in parse_historyfile() 417 starttime = getcurrenttime(NULL); duration = 0; in parse_historyfile() [all …]
|
H A D | timefunc.h | 17 extern time_t getcurrenttime(time_t *retparm); 18 #define time(X) getcurrenttime(X)
|
H A D | acklog.c | 45 cutoff = ( (maxminutes) ? (getcurrenttime(NULL) - maxminutes*60) : 0); in do_acklog() 159 if ((acks[num].acktime + 60*acks[num].duration) < getcurrenttime(NULL)) acks[num].ackvalid = 0; in do_acklog() 200 period = ((getcurrenttime(NULL)-acks[firstack].acktime) / 60); in do_acklog()
|
H A D | headfoot.c | 623 time_t now = getcurrenttime(NULL); in output_parsed() 1281 now = getcurrenttime(NULL); in output_parsed() 1308 now = getcurrenttime(NULL); in output_parsed() 1357 time_t t = getcurrenttime(NULL); in output_parsed() 1368 time_t t = getcurrenttime(NULL); in output_parsed() 1378 time_t t = getcurrenttime(NULL); in output_parsed() 1393 time_t t = getcurrenttime(NULL); in output_parsed() 1408 time_t t = getcurrenttime(NULL); in output_parsed() 1420 time_t t = getcurrenttime(NULL); in output_parsed() 1431 time_t t = getcurrenttime(NULL); in output_parsed() [all …]
|
H A D | notifylog.c | 97 time_t lastevent = getcurrenttime(NULL); in do_notifylog() 128 firstevent = getcurrenttime(NULL) - maxminutes*60; in do_notifylog() 131 firstevent = getcurrenttime(NULL) - 86400; in do_notifylog() 315 count, (unsigned int)((getcurrenttime(NULL) - lasttoshow->eventtime) / 60)); in do_notifylog()
|
H A D | acknowledgementslog.c | 99 time_t lastevent = getcurrenttime(NULL); in do_acknowledgementslog() 130 firstevent = getcurrenttime(NULL) - maxminutes*60; in do_acknowledgementslog() 133 firstevent = getcurrenttime(NULL) - 86400; in do_acknowledgementslog() 350 count, (unsigned int)((getcurrenttime(NULL) - lasttoshow->eventtime) / 60)); in do_acknowledgementslog()
|
/dports/net-mgmt/xymon-client/xymon-4.3.30/lib/ |
H A D | availability.c | 278 *starttime = getcurrenttime(NULL); in scan_historyfile() 284 if (scanres == 2) uidur = getcurrenttime(NULL)-uistart; in scan_historyfile() 298 if (scanres == 2) dur = getcurrenttime(NULL) - start; in scan_historyfile() 310 start = getcurrenttime(NULL); in scan_historyfile() 327 if (scanres == 2) dur = getcurrenttime(NULL) - start; in scan_historyfile() 332 start = getcurrenttime(NULL); in scan_historyfile() 387 repinfo->reportstart = getcurrenttime(NULL); in parse_historyfile() 403 if (totime > getcurrenttime(NULL)) totime = getcurrenttime(NULL); in parse_historyfile() 414 if (scanres == 2) duration = getcurrenttime(NULL) - starttime; in parse_historyfile() 417 starttime = getcurrenttime(NULL); duration = 0; in parse_historyfile() [all …]
|
H A D | timefunc.h | 17 extern time_t getcurrenttime(time_t *retparm); 18 #define time(X) getcurrenttime(X)
|
H A D | acklog.c | 45 cutoff = ( (maxminutes) ? (getcurrenttime(NULL) - maxminutes*60) : 0); in do_acklog() 159 if ((acks[num].acktime + 60*acks[num].duration) < getcurrenttime(NULL)) acks[num].ackvalid = 0; in do_acklog() 200 period = ((getcurrenttime(NULL)-acks[firstack].acktime) / 60); in do_acklog()
|
H A D | headfoot.c | 623 time_t now = getcurrenttime(NULL); in output_parsed() 1281 now = getcurrenttime(NULL); in output_parsed() 1308 now = getcurrenttime(NULL); in output_parsed() 1357 time_t t = getcurrenttime(NULL); in output_parsed() 1368 time_t t = getcurrenttime(NULL); in output_parsed() 1378 time_t t = getcurrenttime(NULL); in output_parsed() 1393 time_t t = getcurrenttime(NULL); in output_parsed() 1408 time_t t = getcurrenttime(NULL); in output_parsed() 1420 time_t t = getcurrenttime(NULL); in output_parsed() 1431 time_t t = getcurrenttime(NULL); in output_parsed() [all …]
|
H A D | notifylog.c | 97 time_t lastevent = getcurrenttime(NULL); in do_notifylog() 128 firstevent = getcurrenttime(NULL) - maxminutes*60; in do_notifylog() 131 firstevent = getcurrenttime(NULL) - 86400; in do_notifylog() 315 count, (unsigned int)((getcurrenttime(NULL) - lasttoshow->eventtime) / 60)); in do_notifylog()
|
H A D | acknowledgementslog.c | 99 time_t lastevent = getcurrenttime(NULL); in do_acknowledgementslog() 130 firstevent = getcurrenttime(NULL) - maxminutes*60; in do_acknowledgementslog() 133 firstevent = getcurrenttime(NULL) - 86400; in do_acknowledgementslog() 350 count, (unsigned int)((getcurrenttime(NULL) - lasttoshow->eventtime) / 60)); in do_acknowledgementslog()
|
/dports/net-mgmt/xymon-client/xymon-4.3.30/client/ |
H A D | clientupdate.c | 109 if ( (stat(inprogressfn, &st) == 0) && ((getcurrenttime(NULL) - st.st_mtime) < 3600) ) { in main() 111 (long) (getcurrenttime(NULL)-st.st_mtime)/60); in main() 122 xgetenv("XYMONTMP"), xgetenv("MACHINEDOTS"), (long)getcurrenttime(NULL)); in main()
|
/dports/net-mgmt/xymon-server/xymon-4.3.30/client/ |
H A D | clientupdate.c | 109 if ( (stat(inprogressfn, &st) == 0) && ((getcurrenttime(NULL) - st.st_mtime) < 3600) ) { in main() 111 (long) (getcurrenttime(NULL)-st.st_mtime)/60); in main() 122 xgetenv("XYMONTMP"), xgetenv("MACHINEDOTS"), (long)getcurrenttime(NULL)); in main()
|
/dports/audio/tempest_for_eliza/tempest_for_eliza-1.0.5/ |
H A D | player.cpp | 40 void getcurrenttime() { gettimeofday (this,0); }; in getcurrenttime() function in zeit 117 cur.getcurrenttime(); in waituntil() 202 timefornextsound.getcurrenttime(); in flushplay()
|
/dports/games/csmash/csmash-0.6.6/ |
H A D | Network.cpp | 180 getcurrenttime( &tbCurrent ); in ReadTime() 246 getcurrenttime( struct timeb *tb ) { in getcurrenttime() function 765 getcurrenttime( &tb1 ); in ServerAdjustClock() 770 getcurrenttime( &tb2 ); in ServerAdjustClock() 825 getcurrenttime( &tb ); in ClientAdjustClock()
|