Home
last modified time | relevance | path

Searched refs:window_size_ns (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/trace_processor/
Dtrace_sorter.h68 TraceSorter(std::unique_ptr<TraceParser> parser, int64_t window_size_ns);
168 void SetWindowSizeNs(int64_t window_size_ns) { in SetWindowSizeNs() argument
169 PERFETTO_DCHECK(window_size_ns <= window_size_ns_); in SetWindowSizeNs()
171 PERFETTO_DLOG("Setting window size to be %" PRId64 " ns", window_size_ns); in SetWindowSizeNs()
172 window_size_ns_ = window_size_ns; in SetWindowSizeNs()
175 if (global_max_ts_ - global_min_ts_ < window_size_ns) in SetWindowSizeNs()
Dtrace_sorter.cc28 int64_t window_size_ns) in TraceSorter() argument
29 : parser_(std::move(parser)), window_size_ns_(window_size_ns) { in TraceSorter()
79 void TraceSorter::SortAndExtractEventsBeyondWindow(int64_t window_size_ns) { in SortAndExtractEventsBeyondWindow() argument
84 int64_t extract_end_ts = global_max_ts_ - window_size_ns; in SortAndExtractEventsBeyondWindow()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_reader.cc265 int64_t window_size_ns; in ParseTraceConfig() local
267 window_size_ns = flush_period_window_size_ns.value(); in ParseTraceConfig()
275 window_size_ns = static_cast<int64_t>(kDefaultWindowNs); in ParseTraceConfig()
277 context_->sorter->SetWindowSizeNs(window_size_ns); in ParseTraceConfig()