Add network proxy profiling support

Cette révision appartient à :
Wenkai Du a révisé 2020-06-09 17:44:15 -07:00
1 Parent c9aa11928a
révision 812543104d
3 fichiers modifiés
+56

Aucun fichier ne correspond à votre recherche

+10
Voir le fichier
@@ -220,6 +220,16 @@ struct ncclChannel {
int collFifoTail; // Only used by CPU
uint32_t* sync;
#ifdef ENABLE_PROFILING
struct timeval tv_send[NCCL_STEPS];
struct timeval tv_recv[NCCL_STEPS];
uint64_t send_byte;
uint64_t recv_byte;
uint64_t send_us;
uint64_t send_wait_us;
uint64_t recv_us;
uint64_t recv_flush_us;
#endif
};
int data[0x80];
};