1
0
Fork 0
forked from wry/wry

all: use tracy for tracing

This commit is contained in:
Julian Orth 2024-09-15 18:08:54 +02:00
parent 50186e764e
commit ccad3cf0fb
56 changed files with 647 additions and 171 deletions

View file

@ -41,7 +41,7 @@ pub fn handle(state: &Rc<State>, connector: &Rc<dyn Connector>) {
state: state.clone(),
data: data.clone(),
};
let future = state.eng.spawn(oh.handle());
let future = state.eng.spawn("connector handler", oh.handle());
data.handler.set(Some(future));
if state.connectors.set(id, data).is_some() {
panic!("Connector id has been reused");
@ -141,7 +141,10 @@ impl ConnectorHandler {
&self.data,
&desired_state,
));
let _schedule = self.state.eng.spawn(schedule.clone().drive());
let _schedule = self
.state
.eng
.spawn("output schedule", schedule.clone().drive());
let on = Rc::new(OutputNode {
id: self.state.node_ids.next(),
workspaces: Default::default(),