reifydb_profiler/event.rs
1// SPDX-License-Identifier: Apache-2.0
2// Copyright (c) 2026 ReifyDB
3
4use std::sync::Arc;
5
6#[allow(unused_imports)]
7use paste as _;
8use reifydb_core::define_event;
9
10use crate::summary::ProfilerSummary;
11
12define_event! {
13
14 pub struct ProfilerScopeClosedEvent {
15 pub summary: Arc<ProfilerSummary>,
16 }
17}
18
19define_event! {
20
21 pub struct ProfilerScopeBatchEvent {
22 pub summary: Arc<ProfilerSummary>,
23 }
24}