Crate caffe2op_stats

source ·

Macros

Structs

  • | Create a StatRegistry object that will | contain a map of performance counters | keyed by name. | | A StatRegistry is used to gather and | retrieve performance counts throughout | the caffe2 codebase. |
  • | Update the given StatRegistry, or the | global StatRegistry, with the values | of counters for the given keys. |
  • | Start a wallclock timer, returning | a scalar tensor containing a pointer | to it. The timer is stopped by calling | TimerEnd. | | Github Links: | | - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/stats_ops.cc |
  • | Stop a timer started with TimerBegin. | Publishes a CAFFE_EVENT. | | Github Links: | | - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/stats_ops.cc |
  • | Queries the current time of a timer in | nanos, stops the timer publishing a | CAFFE_EVENT. | | Github Links: | | - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/stats_ops.cc |
  • | Queries the current time of a timer object | in nanoseconds. | | Github Links: | | - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/stats_ops.cc |