aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/lib.rs
diff options
context:
space:
mode:
authorGregory Terzian <gterzian@users.noreply.github.com>2019-03-31 15:02:01 +0800
committerGregory Terzian <gterzian@users.noreply.github.com>2019-03-31 20:14:46 +0800
commit0780298b80fac803e9f57f8f839bbe4b3c36c388 (patch)
treebbb148822ada5c3006ed25b6c33ba6e2beba6149 /components/script_traits/lib.rs
parentfcd6beb60819ef2960f70d10e82fa31ba56cc99b (diff)
downloadservo-0780298b80fac803e9f57f8f839bbe4b3c36c388.tar.gz
servo-0780298b80fac803e9f57f8f839bbe4b3c36c388.zip
bound sampler buffer
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r--components/script_traits/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 49f4f055e63..6c5f6500a5a 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -778,8 +778,8 @@ pub enum ConstellationMsg {
ForwardEvent(PipelineId, CompositorEvent),
/// Requesting a change to the onscreen cursor.
SetCursor(Cursor),
- /// Enable the sampling profiler.
- EnableProfiler(Duration),
+ /// Enable the sampling profiler, with a given sampling rate and max total sampling duration.
+ EnableProfiler(Duration, Duration),
/// Disable the sampling profiler.
DisableProfiler,
}