Skip to content

Commit

Permalink
fix(conv): Apply TS conversion to mutex timestamps.
Browse files Browse the repository at this point in the history
  • Loading branch information
schilkp committed Nov 8, 2024
1 parent 2214e7c commit 9ef2fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conv/tband-conv/src/trace/freertos/generate_perfetto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl Trace {

let mut in_event = false;
for evt in &queue.state.0 {
let ts = evt.ts;
let ts = self.convert_ts(evt.ts);
if in_event {
evts.push(track.slice_end_evt(ts));
}
Expand All @@ -34,7 +34,7 @@ impl Trace {
let track = syn.new_global_counter_track(trace_name, CounterTrackUnit::Count, 1, false);
evts.extend(syn.new_descriptor_trace_evts());
for evt in &queue.state.0 {
let ts = evt.ts;
let ts = self.convert_ts(evt.ts);
evts.push(track.int_counter_evt(ts, evt.inner.fill));
}
}
Expand Down

0 comments on commit 9ef2fec

Please sign in to comment.