/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/ |
H A D | clock.py | 138 self.last_ts = last_ts 193 self.last_ts = None 221 if self.last_ts is None: 229 self.last_ts = ts 247 now = self.last_ts 300 item.last_ts = now 409 last_ts = self.last_ts or self.next_ts 411 if ts - last_ts > 0.2: 413 return last_ts 457 next_ts = last_ts [all …]
|
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/ |
H A D | clock.py | 138 self.last_ts = last_ts 193 self.last_ts = None 221 if self.last_ts is None: 229 self.last_ts = ts 247 now = self.last_ts 300 item.last_ts = now 409 last_ts = self.last_ts or self.next_ts 411 if ts - last_ts > 0.2: 413 return last_ts 457 next_ts = last_ts [all …]
|
/dports/www/uwsgi/uwsgi-2.0.20/plugins/python/ |
H A D | profiler.c | 27 static uint64_t last_ts = 0; in uwsgi_python_profiler_call() local 33 if (last_ts == 0) delta = 0; in uwsgi_python_profiler_call() 34 else delta = now - last_ts; in uwsgi_python_profiler_call() 35 last_ts = now; in uwsgi_python_profiler_call() 43 if (last_ts == 0) delta = 0; in uwsgi_python_profiler_call() 44 else delta = now - last_ts; in uwsgi_python_profiler_call() 45 last_ts = now; in uwsgi_python_profiler_call() 59 static uint64_t last_ts = 0; in uwsgi_python_tracer() local 64 if (last_ts == 0) { in uwsgi_python_tracer() 68 delta = now - last_ts; in uwsgi_python_tracer() [all …]
|
/dports/net/sems/sems-f89581a/core/ |
H A D | SampleArray.cc | 128 last_ts = ts; in put() 132 if(ts_less()(ts,last_ts-SIZE_MIX_BUFFER)){ in put() 137 if(ts_less()(last_ts,ts)) in put() 138 clear(last_ts,ts); in put() 141 if(ts_less()(last_ts,ts+size)) in put() 142 last_ts = ts+size; in put() 151 !ts_less()(ts,last_ts) || in get() 165 if(ts_less()(ts,last_ts-SIZE_MIX_BUFFER)){ in get() 168 unsigned int s = last_ts-SIZE_MIX_BUFFER-ts; in get() 174 else if(ts_less()(last_ts,ts+size)){ in get() [all …]
|
H A D | AmMultiPartyMixer.cpp | 45 DBG("XXDebugMixerXX: last_ts = %u", mbs.last_ts); in Param() 138 bstate->last_ts = put_ts + (samples * (WALLCLOCK_RATE/100) / (GetCurrentSampleRate()/100)); 160 …unsigned int last_ts = system_ts + (PCM16_B2S(size) * (WALLCLOCK_RATE/100) / (GetCurrentSampleRate… in getPayload() 191 cleanupBufferStates(last_ts); in getPayload() 265 unsigned long long last_ts) 270 if (sys_ts_less()(last_ts,it->last_ts) 271 || (last_ts == it->last_ts)) { 287 void AmMultiPartyMixer::cleanupBufferStates(unsigned int last_ts) 290 && (buffer_state.front().last_ts != 0 && buffer_state.front().last_ts < last_ts) 310 : sample_rate(sample_rate), last_ts(0), channels(), mixed_channel(NULL) [all …]
|
/dports/multimedia/gstreamer1/gstreamer-1.16.2/tools/ |
H A D | gst-stats.c | 363 last_ts = MAX (last_ts, ts); in do_buffer_stats() 399 last_ts = MAX (last_ts, ts); in do_event_stats() 422 last_ts = MAX (last_ts, ts); in do_message_stats() 440 last_ts = MAX (last_ts, ts); in do_query_stats() 462 last_ts = MAX (last_ts, ts); in do_thread_rusage_stats() 472 last_ts = MAX (last_ts, ts); in do_proc_rusage_stats() 519 last_ts = MAX (last_ts, ts); in do_latency_stats() 549 last_ts = MAX (last_ts, ts); in do_element_latency_stats() 578 last_ts = MAX (last_ts, ts); in do_element_reported_latency() 714 parent_stats->last_ts = stats->last_ts; in accum_element_stats() [all …]
|
/dports/dns/dnsjit/dnsjit-1.2.2/src/filter/ |
H A D | timing.c | 38 struct timespec last_ts; member 141 _self->last_ts.tv_sec + diff.tv_sec, in _increase() 142 _self->last_ts.tv_nsec + diff.tv_nsec in _increase() 208 _self->last_ts.tv_sec + diff.tv_sec, in _reduce() 209 _self->last_ts.tv_nsec + diff.tv_nsec in _reduce() 275 _self->last_ts.tv_sec + diff.tv_sec, in _multiply() 276 _self->last_ts.tv_nsec + diff.tv_nsec in _multiply() 327 _self->last_ts.tv_sec + diff.tv_sec, in _fixed() 436 _self->first_ts = _self->last_ts; in _init() 437 _self->diff = _self->last_ts; in _init() [all …]
|
/dports/multimedia/dav1d/dav1d-99172b11470776177939c3d2bc366fe8d904eab7/tools/input/ |
H A D | ivf.c | 44 uint64_t last_ts; member 101 if (*num_frames && ts <= c->last_ts) in ivf_open() 103 c->last_ts = ts; in ivf_open() 130 c->last_ts = 0; in ivf_open() 148 *ts = off > 32 ? c->last_ts + c->step : 0; in ivf_read_header() 167 c->last_ts = ts; in ivf_read() 174 if (ts <= c->last_ts) in ivf_seek() 181 c->last_ts = cur; in ivf_seek()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/dav1d/tools/input/ |
H A D | ivf.c | 44 uint64_t last_ts; member 101 if (*num_frames && ts <= c->last_ts) in ivf_open() 103 c->last_ts = ts; in ivf_open() 130 c->last_ts = 0; in ivf_open() 148 *ts = off > 32 ? c->last_ts + c->step : 0; in ivf_read_header() 167 c->last_ts = ts; in ivf_read() 174 if (ts <= c->last_ts) in ivf_seek() 181 c->last_ts = cur; in ivf_seek()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/dav1d/tools/input/ |
H A D | ivf.c | 44 uint64_t last_ts; member 101 if (*num_frames && ts <= c->last_ts) in ivf_open() 103 c->last_ts = ts; in ivf_open() 130 c->last_ts = 0; in ivf_open() 148 *ts = off > 32 ? c->last_ts + c->step : 0; in ivf_read_header() 167 c->last_ts = ts; in ivf_read() 174 if (ts <= c->last_ts) in ivf_seek() 181 c->last_ts = cur; in ivf_seek()
|
/dports/multimedia/handbrake/dav1d-0.9.0/tools/input/ |
H A D | ivf.c | 44 uint64_t last_ts; member 101 if (*num_frames && ts <= c->last_ts) in ivf_open() 103 c->last_ts = ts; in ivf_open() 130 c->last_ts = 0; in ivf_open() 148 *ts = off > 32 ? c->last_ts + c->step : 0; in ivf_read_header() 167 c->last_ts = ts; in ivf_read() 174 if (ts <= c->last_ts) in ivf_seek() 181 c->last_ts = cur; in ivf_seek()
|
/dports/databases/opentsdb/opentsdb-2.3.0/src/query/expression/ |
H A D | MovingAverage.java | 239 long last_ts = -1; // the timestamp of the previous dp in runLong() local 245 if (last_ts < 0) { in runLong() 246 last_ts = dp.timestamp(); in runLong() 248 time_window_cumulation += last_ts - dp.timestamp(); in runLong() 249 last_ts = dp.timestamp(); in runLong() 299 long last_ts = -1; // the timestamp of the previous dp in runDouble() local 306 if (last_ts < 0) { in runDouble() 307 last_ts = dp.timestamp(); in runDouble() 309 time_window_cumulation += last_ts - dp.timestamp(); in runDouble() 310 last_ts = dp.timestamp(); in runDouble()
|
/dports/www/ilias/ILIAS-5.4.25/Services/LTI/classes/ |
H A D | class.ilLTICronOutcomeService.php | 83 $last_ts = $info['job_status_ts']; 84 if (!$last_ts) { 85 $last_ts = time() - 24 * 3600; 87 $since = new ilDateTime($last_ts, IL_CAL_UNIX);
|
/dports/www/ilias6/ILIAS-6.14/Services/LTI/classes/ |
H A D | class.ilLTICronOutcomeService.php | 83 $last_ts = $info['job_status_ts']; 84 if (!$last_ts) { 85 $last_ts = time() - 24 * 3600; 87 $since = new ilDateTime($last_ts, IL_CAL_UNIX);
|
/dports/emulators/mednafen/mednafen/src/vb/ |
H A D | input.cpp | 50 static v810_timestamp_t last_ts; variable 152 int32 clocks = timestamp - last_ts; in VBINPUT_Update() 182 last_ts = timestamp; in VBINPUT_Update() 189 last_ts = 0; in VBINPUT_ResetTS() 194 last_ts = 0; in VBINPUT_Power()
|
/dports/games/libretro-beetle_vb/beetle-vb-libretro-7412262/mednafen/vb/ |
H A D | input.c | 48 static v810_timestamp_t last_ts; variable 145 int32 clocks = timestamp - last_ts; in VBINPUT_Update() 175 last_ts = timestamp; in VBINPUT_Update() 182 last_ts = 0; in VBINPUT_ResetTS() 187 last_ts = 0; in VBINPUT_Power()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 190 if (pde->last_ts <= pde->window_size) in pulse_queue_check_window() 193 min_valid_ts = pde->last_ts - pde->window_size; in pulse_queue_check_window() 217 pde->last_ts = ts; in pulse_queue_enqueue() 247 ps.last_ts = ts; in pseq_handler_create_sequences() 263 factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri, in pseq_handler_create_sequences() 319 delta_ts = ts - ps->last_ts; in pseq_handler_add_to_existing_seqs() 323 ps->last_ts = ts; in pseq_handler_add_to_existing_seqs() 371 pde->last_ts = ts; in pri_detector_reset() 393 if ((ts - de->last_ts) < rs->max_pri_tolerance) in pri_detector_add_pulse() 400 de->last_ts = ts; in pri_detector_add_pulse()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 190 if (pde->last_ts <= pde->window_size) in pulse_queue_check_window() 193 min_valid_ts = pde->last_ts - pde->window_size; in pulse_queue_check_window() 217 pde->last_ts = ts; in pulse_queue_enqueue() 247 ps.last_ts = ts; in pseq_handler_create_sequences() 263 factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri, in pseq_handler_create_sequences() 319 delta_ts = ts - ps->last_ts; in pseq_handler_add_to_existing_seqs() 323 ps->last_ts = ts; in pseq_handler_add_to_existing_seqs() 371 pde->last_ts = ts; in pri_detector_reset() 393 if ((ts - de->last_ts) < rs->max_pri_tolerance) in pri_detector_add_pulse() 400 de->last_ts = ts; in pri_detector_add_pulse()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 190 if (pde->last_ts <= pde->window_size) in pulse_queue_check_window() 193 min_valid_ts = pde->last_ts - pde->window_size; in pulse_queue_check_window() 217 pde->last_ts = ts; in pulse_queue_enqueue() 247 ps.last_ts = ts; in pseq_handler_create_sequences() 263 factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri, in pseq_handler_create_sequences() 319 delta_ts = ts - ps->last_ts; in pseq_handler_add_to_existing_seqs() 323 ps->last_ts = ts; in pseq_handler_add_to_existing_seqs() 371 pde->last_ts = ts; in pri_detector_reset() 393 if ((ts - de->last_ts) < rs->max_pri_tolerance) in pri_detector_add_pulse() 400 de->last_ts = ts; in pri_detector_add_pulse()
|
/dports/net/libtrace/libtrace-3.0.19/tools/tracertstats/ |
H A D | tracertstats.c | 129 double last_ts = 0; in run_trace() local 166 if (last_ts == 0) in run_trace() 167 last_ts = ts; in run_trace() 169 while (packet_interval != UINT64_MAX && last_ts<ts) { in run_trace() 170 report_results(last_ts,count,bytes); in run_trace() 173 last_ts+=packet_interval; in run_trace()
|
/dports/benchmarks/py-naarad/naarad-1.0.15/src/naarad/metrics/ |
H A D | innotop_metric.py | 116 last_ts = words[0].strip().replace('T', ' ') 135 if not ts == last_ts: 136 last_ts = ts 192 last_ts = None 202 last_ts = words[0].strip().replace('T', ' ') 215 if not last_ts: 227 if ts != last_ts: 228 last_ts = ts
|
/dports/dns/drool/drool-1.1.0/src/ |
H A D | callback.c | 121 if (clock_gettime(CLOCK_MONOTONIC, &context->last_ts)) { in timing_init() 125 context->diff = context->last_ts; in timing_init() 129 context->last_ts.tv_sec, context->last_ts.tv_nsec, in timing_init() 284 context->last_ts.tv_sec + diff.tv_sec, in timing_increase() 285 context->last_ts.tv_nsec + diff.tv_nsec in timing_increase() 323 if (clock_gettime(CLOCK_MONOTONIC, &context->last_ts)) { in timing_increase() 372 context->last_ts.tv_sec + diff.tv_sec, in timing_reduce() 373 context->last_ts.tv_nsec + diff.tv_nsec in timing_reduce() 411 if (clock_gettime(CLOCK_MONOTONIC, &context->last_ts)) { in timing_reduce() 461 context->last_ts.tv_sec + diff.tv_sec, in timing_multiply() [all …]
|
/dports/dns/dsc/dsc-2.11.1/src/ |
H A D | dnstap.c | 54 extern struct timeval last_ts; 550 last_ts = tm.ts; in dnstap_handler() 584 last_ts = tm.ts; in dnstap_handler() 618 last_ts = tm.ts; in dnstap_handler() 652 last_ts = tm.ts; in dnstap_handler() 686 last_ts = tm.ts; in dnstap_handler() 720 last_ts = tm.ts; in dnstap_handler() 756 last_ts = tm.ts; in dnstap_handler() 792 last_ts = tm.ts; in dnstap_handler() 835 last_ts.tv_sec = last_ts.tv_usec = 0; in dnstap_init() [all …]
|
/dports/net-mgmt/icingaweb2-module-idoreports/icingaweb2-module-idoreports-0.9.0/schema/ |
H A D | get_sla_ok_percent.sql | 28 @last_ts = NULL, 99 CAST(COALESCE(@last_ts, UNIX_TIMESTAMP(@start)) AS UNSIGNED), 101 - CAST(COALESCE(@last_ts, UNIX_TIMESTAMP(@start)) AS UNSIGNED) 157 @last_ts AS start_time, 162 ELSE @last_ts := UNIX_TIMESTAMP(state_time)
|
/dports/dns/dnscap/dnscap-2.0.1/src/ |
H A D | sig.c | 62 if (0 == last_ts.tv_sec) in sigclose() 63 gettimeofday(&last_ts, NULL); in sigclose() 66 if (dumper_close(last_ts)) in sigclose()
|