MCPcopy Create free account
hub / github.com/AI45Lab/Code / record_event

Method record_event

core/src/ahp/executor.rs:710–713  ·  view source on GitHub ↗

Increment event counter and update activity

(&self)

Source from the content-addressed store, hash-verified

708
709 /// Increment event counter and update activity
710 fn record_event(&self) {
711 self.total_events.fetch_add(1, Ordering::Relaxed);
712 self.update_activity();
713 }
714
715 fn record_runtime_agent_event(&self, event: &AgentEvent, run_id: &str) {
716 if matches!(event, AgentEvent::Error { .. }) {

Callers 7

observeMethod · 0.45
publish_agent_eventMethod · 0.45
publish_run_cancelledMethod · 0.45
fireMethod · 0.45
create_test_run_recordsFunction · 0.45

Calls 1

update_activityMethod · 0.80