Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
caffe2
predictor
emulator
profiler.h
1
#pragma once
2
#include "caffe2/core/logging.h"
3
#include "caffe2/core/timer.h"
4
5
namespace
caffe2
{
6
namespace
emulator {
7
8
/*
9
* An interface to profile the metrics of a @runnable.
10
* It should return execution walltime in milliseconds.
11
*/
12
class
Profiler
{
13
public
:
14
virtual
float
profile(std::function<
void
()> runnable) = 0;
15
16
virtual
~
Profiler
() noexcept {}
17
};
18
19
}
// namespace emulator
20
}
// namespace caffe2
caffe2::emulator::Profiler
Definition:
profiler.h:12
caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition:
blob.h:13
Generated on Thu Mar 21 2019 13:06:20 for Caffe2 - C++ API by
1.8.11