Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1665)

Unified Diff: runtime/vm/profiler.cc

Issue 1533323004: Support narrowing a timeline to a given time window (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/profiler.h ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler.cc
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
index 4d30ba4c129f3a804e671f055e72b44f8baa75e8..53f04b66c0da5843abce84ed183d848c6b3b38e6 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -304,7 +304,7 @@ bool SampleFilter::TimeFilterSample(Sample* sample) {
}
const int64_t timestamp = sample->timestamp();
int64_t delta = timestamp - time_origin_micros_;
- return (delta >= 0) && (delta < time_extent_micros_);
+ return (delta >= 0) && (delta <= time_extent_micros_);
}
« no previous file with comments | « runtime/vm/profiler.h ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698