Better handling of net errors in prof_dag counters (#17384)
authorIlia Cherniavskii <iliacher@fb.com>
Sat, 23 Feb 2019 02:30:58 +0000 (18:30 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 23 Feb 2019 02:38:31 +0000 (18:38 -0800)
commit47263e48f49b0ed70233d16b371a7fe00a0fae7c
tree7a17570fc5b2bda6077dd87144843f8ef9251460
parentd8d8371bd3d117d4c89df488d80760f0f44a98b8
Better handling of net errors in prof_dag counters (#17384)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17384

Better handling of possible net run errors in prof_dag counters.

Reviewed By: yinghai

Differential Revision: D14177619

fbshipit-source-id: 51bc952c684c53136ce97e22281b1af5706f871e
caffe2/core/net_test.cc
caffe2/core/prof_dag_counters.cc
caffe2/core/prof_dag_counters.h