Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::autograd::profiler::Event Struct Referencefinal

Public Member Functions

 Event (EventKind kind, std::string name, uint16_t thread_id, bool record_cuda)
 
 Event (EventKind kind, const char *name, uint16_t thread_id, bool record_cuda)
 
void record (bool record_cuda)
 
std::string kind () const
 
const char * name () const
 
uint16_t thread_id () const
 
double cpu_elapsed_us (const Event &e)
 
double cuda_elapsed_us (const Event &e)
 
bool has_cuda () const
 
int device () const
 

Detailed Description

Definition at line 99 of file profiler.h.


The documentation for this struct was generated from the following files: