Home
last modified time | relevance | path

Searched refs:delta_time (Results 1 – 16 of 16) sorted by relevance

/third_party/alsa-utils/seq/aplaymidi/
Darecordmidi.c422 static void delta_time(struct smf_track *track, const snd_seq_event_t *ev) in delta_time() function
483 delta_time(track, ev); in record_event()
489 delta_time(track, ev); in record_event()
495 delta_time(track, ev); in record_event()
501 delta_time(track, ev); in record_event()
507 delta_time(track, ev); in record_event()
512 delta_time(track, ev); in record_event()
517 delta_time(track, ev); in record_event()
524 delta_time(track, ev); in record_event()
529 delta_time(track, ev); in record_event()
[all …]
/third_party/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_test03.c100 time_t current_time, prev_time, delta_time; in main() local
193 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
204 if (delta_time > TIME_INTERVAL) in main()
206 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
213 exp_cpu_time, delta_time); in main()
Dcpuctl_def_task03.c98 time_t current_time, prev_time, delta_time; in main() local
198 delta_time = current_time - prev_time; in main()
212 if (delta_time > TIME_INTERVAL) in main()
214 (delta_time * num_cpus); in main()
223 exp_cpu_time, delta_time); in main()
Dcpuctl_def_task01.c100 time_t current_time, prev_time, delta_time; in main() local
191 delta_time = current_time - prev_time; in main()
205 if (delta_time > TIME_INTERVAL) in main()
207 (delta_time * num_cpus); in main()
219 exp_cpu_time, myshares, delta_time); in main()
Dcpuctl_def_task04.c100 time_t current_time, prev_time, delta_time; in main() local
208 delta_time = current_time - prev_time; in main()
222 if (delta_time > TIME_INTERVAL) in main()
224 (delta_time * num_cpus); in main()
233 mytime, exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_test01.c100 time_t current_time, prev_time, delta_time; in main() local
186 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
197 if (delta_time > TIME_INTERVAL) in main()
199 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
206 exp_cpu_time, myshares, delta_time); in main()
Dcpuctl_def_task02.c102 time_t current_time, prev_time, delta_time; in main() local
202 delta_time = current_time - prev_time; in main()
216 if (delta_time > TIME_INTERVAL) in main()
218 (delta_time * num_cpus); in main()
226 exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_test04.c101 time_t current_time, prev_time, delta_time; in main() local
204 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
215 if (delta_time > TIME_INTERVAL) in main()
217 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
224 mytime, exp_cpu_time, fmyshares, delta_time); in main()
Dcpuctl_test02.c105 time_t current_time, prev_time, delta_time; in main() local
198 delta_time = current_time - prev_time; /* Duration in case its not exact TIME_INTERVAL */ in main()
209 if (delta_time > TIME_INTERVAL) in main()
211 (delta_cpu_time * 100) / (delta_time * num_cpus); in main()
218 mytime, exp_cpu_time, fmyshares, delta_time); in main()
/third_party/alsa-lib/test/
Dmidifile.c951 mf_write_midi_event (delta_time, type, chan, data, size) in mf_write_midi_event() argument
952 unsigned long delta_time; in mf_write_midi_event()
960 WriteVarLen (delta_time);
1003 mf_write_meta_event (delta_time, type, data, size) in mf_write_meta_event() argument
1004 unsigned long delta_time; in mf_write_meta_event()
1010 WriteVarLen (delta_time);
1030 mf_write_tempo (delta_time, tempo) in mf_write_tempo() argument
1031 unsigned long delta_time; in mf_write_tempo()
1038 WriteVarLen (delta_time);
1049 mf_write_seqnum (delta_time, seqnum) in mf_write_seqnum() argument
[all …]
Dmidifile.h44 extern int mf_write_midi_event(unsigned long delta_time, int type,
/third_party/python/Lib/test/
Dtest_timeit.py117 delta_time = t.timeit(**kwargs)
120 self.assertEqual(delta_time, number)
149 delta_time = timeit.timeit(self.fake_stmt, self.fake_setup, number=0,
151 self.assertEqual(delta_time, 0)
/third_party/libnl/lib/netfilter/
Dct_obj.c203 int64_t delta_time = tstamp->stop - tstamp->start; in ct_dump_line() local
205 if (delta_time > 0) in ct_dump_line()
206 delta_time /= NSEC_PER_SEC; in ct_dump_line()
208 delta_time = 0; in ct_dump_line()
209 nl_dump(p, "delta-time %llu ", delta_time); in ct_dump_line()
/third_party/gstreamer/gstplugins_bad/gst/midi/
Dmidiparse.c699 gint32 delta_time; in update_track_position() local
709 consumed = parse_varlen (midiparse, data, size, &delta_time); in update_track_position()
713 track->pulse += delta_time; in update_track_position()
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c1539 const double delta_time = in WebPAnimEncoderAssemble() local
1541 const int average_duration = (int)(delta_time / (enc->in_frame_count_ - 1)); in WebPAnimEncoderAssemble()
/third_party/skia/third_party/externals/libwebp/src/mux/
Danim_encode.c1543 const double delta_time = in WebPAnimEncoderAssemble() local
1545 const int average_duration = (int)(delta_time / (enc->in_frame_count_ - 1)); in WebPAnimEncoderAssemble()