debug: More profiling annotations
This commit is contained in:
parent
465813c1c5
commit
a65e1d6b5f
8 changed files with 20 additions and 0 deletions
|
|
@ -695,6 +695,7 @@ fn primary_scanout_output_compare<'a>(
|
|||
}
|
||||
|
||||
impl Common {
|
||||
#[profiling::function]
|
||||
pub fn update_primary_output(
|
||||
&self,
|
||||
output: &Output,
|
||||
|
|
@ -796,6 +797,7 @@ impl Common {
|
|||
}
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn send_dmabuf_feedback(
|
||||
&self,
|
||||
output: &Output,
|
||||
|
|
@ -946,6 +948,7 @@ impl Common {
|
|||
}
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
pub fn send_frames(&self, output: &Output, sequence: Option<usize>) {
|
||||
let time = self.clock.now();
|
||||
let should_send = |surface: &WlSurface, states: &SurfaceData| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue