debug: More profiling annotations

This commit is contained in:
Victoria Brekenfeld 2025-05-20 17:54:12 +02:00 committed by Victoria Brekenfeld
parent 465813c1c5
commit a65e1d6b5f
8 changed files with 20 additions and 0 deletions

View file

@ -1408,6 +1408,7 @@ impl Common {
self.idle_notifier_state.set_is_inhibited(is_inhibited);
}
#[profiling::function]
pub fn on_commit(&mut self, surface: &WlSurface) {
{
let shell = self.shell.read();