/third_party/node/deps/v8/tools/ |
H A D | generate-runtime-call-stats.py | 255 # First column is name, and then they alternate between counts and durations 266 self.durations = [0] * run_count 275 str((c, d)) for (c, d) in zip(self.counts, self.durations)) 279 def add_data(self, counts, durations): 281 self.durations = durations 285 self.durations[run] = duration 288 if len(self.durations) > 1: 289 self.mean_duration = statistics.mean(self.durations) 292 self.stdev_duration = statistics.stdev(self.durations) [all...] |
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | webpmux.c | 1080 int* durations = NULL; in Process() local 1083 durations = (int*)WebPMalloc((size_t)num_frames * sizeof(*durations)); in Process() 1084 if (durations == NULL) goto Err2; in Process() 1085 for (i = 0; i < num_frames; ++i) durations[i] = -1; in Process() 1117 durations[k - 1] = duration; in Process() 1121 // Apply non-negative durations to their destination frames. in Process() 1128 if (durations[i - 1] >= 0) frame.duration = durations[i - 1]; in Process() 1141 WebPFree(durations); in Process() [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | gc-tracer.cc | 1070 double durations = sum.second; in AverageSpeed() local 1071 if (durations == 0.0) return 0; in AverageSpeed() 1072 double speed = bytes / durations; in AverageSpeed() 1130 // This is the first event with mutator and mark-compact durations. in RecordMutatorUtilization() 1230 double durations = allocation_duration_since_gc_; in NewSpaceAllocationThroughputInBytesPerMillisecond() local 1232 MakeBytesAndDuration(bytes, durations), time_ms); in NewSpaceAllocationThroughputInBytesPerMillisecond() 1238 double durations = allocation_duration_since_gc_; in OldGenerationAllocationThroughputInBytesPerMillisecond() local 1240 MakeBytesAndDuration(bytes, durations), time_ms); in OldGenerationAllocationThroughputInBytesPerMillisecond() 1246 double durations = allocation_duration_since_gc_; in EmbedderAllocationThroughputInBytesPerMillisecond() local 1248 MakeBytesAndDuration(bytes, durations), time_m in EmbedderAllocationThroughputInBytesPerMillisecond() [all...] |
/third_party/ffmpeg/tests/fate/ |
H A D | matroska.mak | 171 FATE_MATROSKA-$(call REMUX, MATROSKA, SUP_DEMUXER PGS_FRAME_MERGE_BSF SETTS_BSF) += fate-matroska-pgs-remux-durations 172 fate-matroska-pgs-remux-durations: CMD = transcode sup $(TARGET_SAMPLES)/sub/pgs_sub.sup matroska "-copyts -c:s copy -bsf pgs_frame_merge,setts=duration=if(gt(DURATION\,0)\,DURATION\,if(eq(PTS\,NOPTS)\,0\,if(eq(NEXT_PTS\,NOPTS)\,0\,NEXT_PTS-PTS))):pts=PTS" "-copyts -c:s copy" 175 # and once with durations derived via the setts filter. Said filter
|
/third_party/python/Lib/test/ |
H A D | test_signal.py | 1228 durations = [times[i+1] - times[i] for i in range(len(times) - 1)] 1229 med = statistics.median(durations)
|
/third_party/ffmpeg/libavformat/ |
H A D | mpegtsenc.c | 1813 static const int durations[32] = { in opus_get_packet_samples() local 1831 frame_duration = durations[toc >> 3]; in opus_get_packet_samples()
|
/third_party/rust/crates/memchr/bench/data/code/ |
H A D | rust-library.rs | 2574 let mut durations = Vec::with_capacity(BENCH_N); in main() variables 2582 durations.push(after.duration_since(before)); in main() 2585 let l = durations.len(); in main() 2586 durations.sort(); in main() 2589 let median = (durations[(l / 2) - 1] + durations[l / 2]) / 2; in main() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-temporal-objects.cc | 284 Handle<Object> durations, Handle<Object> options, Handle<Object> date_add);
|
/third_party/typescript/lib/ |
H A D | typingsInstaller.js | 3685 var durations = new ts.Map(); 3715 var previousDuration = durations.get(measureName) || 0; 3716 durations.set(measureName, previousDuration + (end - start)); 3733 * @param measureName The name of the measure whose durations should be accumulated. 3736 return durations.get(measureName) || 0; 3745 durations.forEach(function (duration, measureName) { return cb(measureName, duration); }); 3754 durations.delete(name); 3756 durations.clear(); 3805 durations.clear(); [all...] |
H A D | tsc.js | 3144 var durations = new ts.Map(); 3160 var previousDuration = durations.get(measureName) || 0; 3161 durations.set(measureName, previousDuration + (end - start)); 3171 return durations.get(measureName) || 0; 3175 durations.forEach(function (duration, measureName) { return cb(measureName, duration); }); 3184 durations.delete(name); 3186 durations.clear(); 3226 durations.clear(); [all...] |
H A D | tsserverlibrary.js | 3704 var durations = new ts.Map(); 3734 var previousDuration = durations.get(measureName) || 0; 3735 durations.set(measureName, previousDuration + (end - start)); 3752 * @param measureName The name of the measure whose durations should be accumulated. 3755 return durations.get(measureName) || 0; 3764 durations.forEach(function (duration, measureName) { return cb(measureName, duration); }); 3773 durations.delete(name); 3775 durations.clear(); 3824 durations.clear(); [all...] |
H A D | typescript.js | 3695 var durations = new ts.Map(); 3725 var previousDuration = durations.get(measureName) || 0; 3726 durations.set(measureName, previousDuration + (end - start)); 3743 * @param measureName The name of the measure whose durations should be accumulated. 3746 return durations.get(measureName) || 0; 3755 durations.forEach(function (duration, measureName) { return cb(measureName, duration); }); 3764 durations.delete(name); 3766 durations.clear(); 3815 durations.clear(); [all...] |
H A D | typescriptServices.js | 3695 var durations = new ts.Map(); 3725 var previousDuration = durations.get(measureName) || 0; 3726 durations.set(measureName, previousDuration + (end - start)); 3743 * @param measureName The name of the measure whose durations should be accumulated. 3746 return durations.get(measureName) || 0; 3755 durations.forEach(function (duration, measureName) { return cb(measureName, duration); }); 3764 durations.delete(name); 3766 durations.clear(); 3815 durations.clear(); [all...] |
H A D | tsserver.js | 3705 var durations = new ts.Map(); 3735 var previousDuration = durations.get(measureName) || 0; 3736 durations.set(measureName, previousDuration + (end - start)); 3753 * @param measureName The name of the measure whose durations should be accumulated. 3756 return durations.get(measureName) || 0; 3765 durations.forEach(function (duration, measureName) { return cb(measureName, duration); }); 3774 durations.delete(name); 3776 durations.clear(); 3825 durations.clear(); [all...] |
/third_party/node/test/fixtures/snapshot/ |
H A D | typescript.js | 3743 var durations = new ts.Map(); 3773 var previousDuration = durations.get(measureName) || 0; 3774 durations.set(measureName, previousDuration + (end - start)); 3791 * @param measureName The name of the measure whose durations should be accumulated. 3794 return durations.get(measureName) || 0; 3803 durations.forEach(function (duration, measureName) { return cb(measureName, duration); }); 3839 durations.clear(); [all...] |