Updating out-of-date comment.

PiperOrigin-RevId: 283827304
Change-Id: I2ba2f88f1fe31cdae2588642404b4bf40ea07f21
This commit is contained in:
A. Unique TensorFlower 2019-12-04 13:48:14 -08:00 committed by TensorFlower Gardener
parent ae7ec95f2a
commit 15715cb2c8

View File

@ -1163,9 +1163,7 @@ void VirtualScheduler::GenerateRunMetadata(RunMetadata* metadata) {
node_stats->set_timeline_label(timeline_label);
}
node_stats->set_node_name(node_def->name());
// Timestamps in microseconds.
// TODO(b/138165866): Remove once TimelineServer support is no longer
// needed.
// Timestamps in microseconds (can be used by timeline_server).
node_stats->set_op_start_rel_micros(0);
node_stats->set_all_start_micros(
nodestate.time_scheduled.asMicroSeconds().count());
@ -1175,7 +1173,7 @@ void VirtualScheduler::GenerateRunMetadata(RunMetadata* metadata) {
node_stats->set_all_end_rel_micros(
nodestate.time_finished.asMicroSeconds().count() -
nodestate.time_scheduled.asMicroSeconds().count());
// Timestamps in nanoseconds.
// Timestamps in nanoseconds (can be used by xprof trace).
node_stats->set_op_start_rel_nanos(0);
node_stats->set_all_start_nanos(nodestate.time_scheduled.count());
node_stats->set_op_end_rel_nanos(nodestate.time_finished.count() -