Skip to content

Commit

Permalink
more debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Sep 26, 2024
1 parent 3de3f89 commit e615a9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iris-mpc-gpu/src/server/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl ServerActorHandle {
&mut self,
batch: BatchQuery,
) -> impl Future<Output = ServerJobResult> {
tracing::info!("Submitting batch query to the Actor job queue");
let (tx, rx) = oneshot::channel();
let job = ServerJob {
batch,
Expand Down Expand Up @@ -449,6 +450,7 @@ impl ServerActor {
.preprocess_db(&mut self.right_mask_db_slices, &self.current_db_sizes);
}

#[tracing::instrument(skip(self, return_channel))]
fn process_batch_query(
&mut self,
batch: BatchQuery,
Expand Down Expand Up @@ -877,6 +879,7 @@ impl ServerActor {
Ok(())
}

#[tracing::instrument(skip(self, compact_device_queries, compact_device_sums, events, eye_db))]
fn compare_query_against_db_and_self(
&mut self,
compact_device_queries: &DeviceCompactQuery,
Expand Down Expand Up @@ -1160,6 +1163,7 @@ impl ServerActor {
}
}

#[tracing::instrument(skip(self, valid_entries))]
fn sync_batch_entries(&mut self, valid_entries: &[bool]) -> eyre::Result<Vec<bool>> {
let mut buffer = self
.device_manager
Expand Down Expand Up @@ -1193,6 +1197,7 @@ impl ServerActor {
Ok(valid_merged)
}

#[tracing::instrument(skip(self))]
fn prepare_deletion_shares(&self) -> eyre::Result<(DeviceCompactQuery, DeviceCompactSums)> {
let (dummy_code_share, dummy_mask_share) = get_dummy_shares_for_deletion(self.party_id);
let compact_query = {
Expand Down

0 comments on commit e615a9f

Please sign in to comment.