Searched refs:timestamps (Results 1 - 25 of 48) sorted by relevance

12

/external/chromium_org/media/formats/mp2t/
H A Dtimestamp_unroller_unittest.cc17 const std::vector<int64>& timestamps) {
20 std::vector<int64> truncated_timestamps(timestamps.size());
21 for (size_t k = 0; k < timestamps.size(); k++)
22 truncated_timestamps[k] = timestamps[k] & truncate_mask;
26 static void RunUnrollTest(const std::vector<int64>& timestamps) { argument
27 std::vector<int64> truncated_timestamps = TruncateTimestamps(timestamps);
30 for (size_t k = 0; k < timestamps.size(); k++) {
33 EXPECT_EQ(timestamps[k], unrolled_timestamp);
38 // Array of 64 bit timestamps.
39 // This is the expected result from unrolling these timestamps
16 TruncateTimestamps( const std::vector<int64>& timestamps) argument
41 int64 timestamps[] = { local
[all...]
/external/chromium_org/build/android/pylib/perf/
H A Dsurface_stats_collector_unittest.py29 timestamps = self._CreateUniformTimestamps(0, 10, self.refresh_period)
32 self.refresh_period, timestamps, ''))
38 self.assertEquals(len(results['frame_lengths'].value), len(timestamps) - 1)
41 timestamps = self._CreateUniformTimestamps(0, 10, self.refresh_period / 100)
44 [self.refresh_period, timestamps, ''])
47 timestamps = self._CreateUniformTimestamps(0, 5, self.refresh_period)
48 # The following timestamps should be skipped.
49 timestamps += self._CreateUniformTimestamps(timestamps[4],
52 timestamps
[all...]
H A Dsurface_stats_collector.py14 # Log marker containing SurfaceTexture timestamps.
15 _SURFACE_TEXTURE_TIMESTAMPS_MESSAGE = 'SurfaceTexture update timestamps'
98 def _CalculateResults(refresh_period, timestamps, result_suffix):
100 frame_count = len(timestamps)
101 seconds = timestamps[-1] - timestamps[0]
105 timestamps, refresh_period, _MIN_NORMALIZED_FRAME_LENGTH)
134 def _CalculateBuckets(refresh_period, timestamps):
137 sliced = timestamps[min(int(-pct * len(timestamps)),
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DCPUProfileDataModel.js14 this.timestamps = profile.timestamps;
90 var timestamps = this.timestamps;
91 if (!timestamps) {
92 // Support loading old CPU profiles that are missing timestamps.
93 // Derive timestamps from profile start and stop times.
96 timestamps = new Float64Array(this.samples.length + 1);
97 for (var i = 0; i < timestamps.length; ++i)
98 timestamps[
[all...]
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dcounter_track.js103 counter.timestamps,
120 counter.timestamps[iLast] - skipDistanceWorld : -1;
138 var x = counter.timestamps[i];
149 var xNext = counter.timestamps[i + 1];
184 var x = counter.timestamps[i];
199 if (i === counter.timestamps.length - 1)
201 return counter.timestamps[i + 1] - counter.timestamps[i];
205 var iLo = base.findLowIndexInSortedIntervals(counter.timestamps,
209 var iHi = base.findLowIndexInSortedIntervals(counter.timestamps,
[all...]
H A Dcounter_track_test.js15 var runTest = function(timestamps, samples, testFn) {
28 for (var k = 0; k < timestamps.length; ++k) {
29 ctr.series[i].addSample(timestamps[k], samples[i][k]);
65 var timestamps = [0, 1, 2, 3, 4, 5, 6, 7];
69 for (var k = 0; k < timestamps.length; ++k) {
70 ctr.series[i].addSample(timestamps[k], samples[i][k]);
94 var timestamps = [0, 1, 2, 3, 4, 5, 6, 7];
98 runTest.call(this, timestamps, samples, function(ctr, container, track) {
/external/chromium_org/tools/telemetry/telemetry/timeline/
H A Dcounter.py22 return self._counter.timestamps[self._sample_index]
26 self._counter.timestamps[self._sample_index] = start
57 self.timestamps = []
67 if not event_type_predicate(CounterSample) or not self.timestamps:
73 for i in xrange(len(self.timestamps)):
84 return len(self.timestamps)
89 'Length of samples must be a multiple of length of timestamps.')
H A Dcounter_unittest.py31 self.counter.timestamps = [111, 222]
37 self.counter.timestamps = [111, 222]
43 self.counter.timestamps = [111, 222]
51 self.counter.timestamps = [111, 222]
/external/chromium_org/tools/perf/page_sets/mse_cases/
H A Dstartup_test.js46 function plotTimestamps(timestamps, graphDuration, element) {
47 if (!timestamps)
62 start: timestamps.testStartTime,
63 end: timestamps.testEndTime,
66 start: timestamps.mediaSourceOpenStartTime,
67 end: timestamps.mediaSourceOpenEndTime,
72 for (var i = 0; i < timestamps.appenders.length; ++i) {
73 var appender = timestamps.appenders[i];
90 end: timestamps.testEndTime,
393 var timestamps
[all...]
/external/strace/
H A Dstrace-log-merge12 option which prints timestamps (otherwise sorting won't do any good).
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dstatistics.py113 def TimestampsDiscrepancy(timestamps, absolute=True,
118 of timestamps. Note that this is different from metrics based on the
141 |timestamps| may be a list of lists S = [S_1, S_2, ..., S_N], where each
145 if not timestamps:
148 if isinstance(timestamps[0], list):
149 range_discrepancies = [TimestampsDiscrepancy(r) for r in timestamps]
152 samples, sample_scale = NormalizeSamples(timestamps)
174 Because timestamp discrepancy is defined in terms of timestamps, we first
175 convert the list of durations to monotonically increasing timestamps.
185 timestamps
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dcounter.js58 set timestamps(arg) {
96 get timestamps() {
99 return this.series_[0].timestamps;
125 * Shifts all the timestamps inside this counter forward by the amount
154 // Note, this assumes that all series have all timestamps.
H A Dcounter_series.js93 get timestamps() {
/external/chromium_org/media/filters/
H A Dsource_buffer_stream_unittest.cc254 std::vector<std::string> timestamps; local
255 base::SplitString(expected, ' ', &timestamps);
259 for (size_t i = 0; i < timestamps.size(); i++) {
279 EXPECT_EQ("C", timestamps[i]);
297 if (EndsWith(timestamps[i], "P", true)) {
433 // coded strings of timestamps separated by spaces. Supported syntax:
459 // preceding timestamps a# ... y# will be treated as the fade out preroll for
464 std::vector<std::string> timestamps; local
465 base::SplitString(buffers_to_append, ' ', &timestamps);
467 CHECK_GT(timestamps
[all...]
H A Dframe_processor_unittest.cc102 std::vector<std::string> timestamps; local
103 base::SplitString(buffers_to_append, ' ', &timestamps);
106 for (size_t i = 0; i < timestamps.size(); i++) {
108 if (EndsWith(timestamps[i], "K", true)) {
111 timestamps[i] = timestamps[i].substr(0, timestamps[i].length() - 1);
115 CHECK(base::StringToDouble(timestamps[i], &time_in_ms));
182 std::vector<std::string> timestamps; local
183 base::SplitString(expected, ' ', &timestamps);
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
H A DTimelineJSProfile.js108 var timestamps = jsProfileModel.timestamps;
123 WebInspector.TracingModel.Phase.Instant, timestamps[i], mainThread);
/external/chromium_org/chrome/browser/ui/toolbar/
H A Drecent_tabs_builder_test_helper.cc106 std::vector<base::Time> timestamps; local
109 timestamps.push_back(GetTabTimestamp(session_index, w, t));
112 if (timestamps.empty())
115 sort(timestamps.begin(), timestamps.end());
116 return timestamps[0];
/external/chromium-trace/trace-viewer/src/tracing/analysis/
H A Danalyze_counters.js23 table, 'Timestamp', ctr.timestamps[sampleIndex]);
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DCmdLine.py21 -t, --timestamps Only compile newer source files
100 elif option in ("-t", "--timestamps"):
101 options.timestamps = 1
103 options.timestamps = 0
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/profiler/
H A DHeapSnapshotView.js1260 profileSamples.timestamps[currentIndex] = data.timestamp;
1261 if (profileSamples.totalTime < data.timestamp - profileSamples.timestamps[0])
1319 'timestamps': [],
1768 var timestamps = this._profileSamples.timestamps;
1771 this._windowRight = totalTime && timestamps.length ? (timestamps[timestamps.length - 1] - timestamps[0]) / totalTime : 1.0;
1803 var timestamps
[all...]
/external/chromium_org/chrome/browser/webdata/
H A Dautocomplete_syncable_service.cc33 // Merges timestamps from the |sync_timestamps| and the |local_entry|.
35 // timestamps were different, fills |date_created| and |date_last_used| with the
36 // merged timestamps. The |sync_timestamps| vector is assumed to be sorted.
329 const google::protobuf::RepeatedField<int64_t>& timestamps = local
334 if (timestamps.size() > 0) {
335 date_created = base::Time::FromInternalValue(*timestamps.begin());
336 date_last_used = base::Time::FromInternalValue(*timestamps.rbegin());
342 bool different = MergeTimestamps(timestamps, *it->second.second,
348 // Update the sync db since the timestamps have changed.
/external/chromium_org/base/android/java/src/org/chromium/base/
H A DResourceExtractor.java210 String[] timestamps = outputDir.list(new FilenameFilter() {
217 if (timestamps.length != 1) {
219 // If there's multiple timestamps, something's gone wrong so nuke.
223 if (!expectedTimestamp.equals(timestamps[0])) {
/external/chromium-trace/trace-viewer/src/tracing/
H A Dselection.js60 if (!this.track.timestamps)
62 range.addValue(this.track.timestamps[this.sampleIndex]);
/external/chromium_org/chrome/browser/ui/webui/
H A Dhistory_ui.cc339 // Pass the timestamps in a list.
340 scoped_ptr<base::ListValue> timestamps(new base::ListValue);
343 timestamps->AppendDouble(base::Time::FromInternalValue(*it).ToJsTime());
345 result->Set("allTimestamps", timestamps.release());
570 base::ListValue* timestamps = NULL; local
572 // Each argument is a dictionary with properties "url" and "timestamps".
575 deletion->GetList("timestamps", &timestamps))) {
579 DCHECK(timestamps->GetSize() > 0);
590 for (base::ListValue::const_iterator ts_iterator = timestamps
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
H A DplotJitterEstimate.m3 [timestamps, framedata, slopes, randJitters, framestats, timetable, filtjitter, rtt, rttStatsVec] = jitterBufferTraceParser(filename);

Completed in 5898 milliseconds

12