def METHOD_NAME(self, raw_name, record_name, latency, msg_size):
    algbw, busbw = calc_bw_log(raw_name, msg_size, latency)
    if record_name in self.comms_dict.keys():
        # If this comm_op has already been logged with this message size, just add to existing record
        if msg_size in self.comms_dict[record_name].keys():
            self.comms_dict[record_name][msg_size][0] += 1
            self.comms_dict[record_name][msg_size][1].METHOD_NAME(latency)
            self.comms_dict[record_name][msg_size][2].METHOD_NAME(algbw)
            self.comms_dict[record_name][msg_size][3].METHOD_NAME(busbw)
        # If this is a new message size for this comm_op, add new record under existing comm_op
        else:
            self.comms_dict[record_name][msg_size] = [1, [latency], [algbw], [busbw]]
    else:
        # Create entirely new record
        self.comms_dict[record_name] = {msg_size: [1, [latency], [algbw], [busbw]]}
    # If verbose, print every comm op
    # TODO: Add to tensorboard
    if self.verbose:
        log_str = f"comm op: {record_name} | time (ms): {latency:.2f} | msg size: {convert_size(msg_size)} | algbw (Gbps): {algbw:.2f} | busbw (Gbps): {busbw:.2f}"
        log_dist(log_str, [0])