aboutsummaryrefslogtreecommitdiffstats
path: root/components/profile/heartbeats.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-05-09 09:43:13 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2016-05-09 09:43:13 -0700
commit9b23cf537e7ffa24efbb847af3cc03bad3cb74f8 (patch)
tree5fb1b53718f66e8d8e1018cf397da045b7be56ba /components/profile/heartbeats.rs
parent47c28586470982a3bc81d774cece3280ab692faa (diff)
downloadservo-9b23cf537e7ffa24efbb847af3cc03bad3cb74f8.tar.gz
servo-9b23cf537e7ffa24efbb847af3cc03bad3cb74f8.zip
Profile time spent saving the screenshot image
Diffstat (limited to 'components/profile/heartbeats.rs')
-rw-r--r--components/profile/heartbeats.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/profile/heartbeats.rs b/components/profile/heartbeats.rs
index bd143d1fdb5..90a6ffb13bf 100644
--- a/components/profile/heartbeats.rs
+++ b/components/profile/heartbeats.rs
@@ -37,6 +37,7 @@ pub fn init() {
maybe_create_heartbeat(&mut hbs, ProfilerCategory::PaintingPrepBuff);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::Painting);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ImageDecoding);
+ maybe_create_heartbeat(&mut hbs, ProfilerCategory::ImageSaving);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptAttachLayout);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptConstellationMsg);
maybe_create_heartbeat(&mut hbs, ProfilerCategory::ScriptDevtoolsMsg);