diff --git a/src/dot/share_db.rs b/src/dot/share_db.rs index 53c731006..1516d684e 100644 --- a/src/dot/share_db.rs +++ b/src/dot/share_db.rs @@ -470,7 +470,7 @@ impl ShareDB { .alloc(max_size * IRIS_CODE_LENGTH) .unwrap() }; - println!("db1 pointer for dev {}: {:#x}", idx, *slice.device_ptr() as u64); + println!("{}: db1 pointer for dev {}: {:#x}", self.peer_id, idx, *slice.device_ptr() as u64); self.device_manager .htod_copy_into(chunk.to_vec(), &mut slice, idx) .unwrap(); @@ -487,7 +487,7 @@ impl ShareDB { .alloc(max_size * IRIS_CODE_LENGTH) .unwrap() }; - println!("db0 pointer for dev {}: {:#x}", idx, *slice.device_ptr() as u64); + println!("{}: db0 pointer for dev {}: {:#x}", self.peer_id, idx, *slice.device_ptr() as u64); self.device_manager .htod_copy_into(chunk.to_vec(), &mut slice, idx) .unwrap(); diff --git a/src/server/actor.rs b/src/server/actor.rs index b5a4f6dbb..70ebc4783 100644 --- a/src/server/actor.rs +++ b/src/server/actor.rs @@ -686,7 +686,8 @@ impl ServerActor { ] { unsafe { println!( - "Inserting into db0 at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + "{}: Inserting into db0 at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + self.party_id, *db.code_gr.limb_0[i].device_ptr(), self.current_db_sizes[i] * IRIS_CODE_LENGTH, *query.limb_0[i].device_ptr(), @@ -704,7 +705,8 @@ impl ServerActor { ); println!( - "Inserting into db1 at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + "{}: Inserting into db1 at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + self.party_id, *db.code_gr.limb_1[i].device_ptr(), self.current_db_sizes[i] * IRIS_CODE_LENGTH, *query.limb_1[i].device_ptr(), @@ -722,7 +724,8 @@ impl ServerActor { ); println!( - "Inserting into db0_sums at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + "{}: Inserting into db0_sums at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + self.party_id, *db.code_sums_gr.limb_0[i].device_ptr(), self.current_db_sizes[i] * mem::size_of::(), *sums.limb_0[i].device_ptr(), @@ -742,7 +745,8 @@ impl ServerActor { ); println!( - "Inserting into db1sums at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + "{}: Inserting into db1sums at {:#x} + {:#x} from {:#x} + {:#x} with len {:?}", + self.party_id, *db.code_sums_gr.limb_1[i].device_ptr(), self.current_db_sizes[i] * mem::size_of::(), *sums.limb_1[i].device_ptr(),