Skip to content

Commit

Permalink
Add detailed breakdow for stall duration in the analysis.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 561768588
  • Loading branch information
cliveverghese authored and copybara-github committed Aug 31, 2023
1 parent 52a2fa5 commit 6413bdc
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ syntax = "proto3";

package tensorboard_plugin_profile;

message OpInstance {
uint64 start_time_ns = 1;
uint64 duration_ns = 2;
}

message DcnSlack {
string rendezvous = 1;
// Xprof observed send start time.
Expand Down Expand Up @@ -39,6 +44,14 @@ message DcnSlack {

// Send op name
string send_op_name = 8;

// Timestamp for the send/send-done/recv/recv-done ops
OpInstance send = 9;
OpInstance send_done = 10;
OpInstance recv = 11;
OpInstance recv_done = 12;

string transfer_type = 13;
}

message DcnSlackSummary {
Expand All @@ -59,6 +72,14 @@ message DcnSlackSummary {

// Send op name.
string send_op_name = 8;

// Stall duration based on the op.
uint64 send_duration_us = 9;
uint64 recv_duration_us = 10;
uint64 send_done_duration_us = 11;
uint64 recv_done_duration_us = 12;

string transfer_type = 13;
}

message DcnSlackAnalysis {
Expand Down

0 comments on commit 6413bdc

Please sign in to comment.