MCPcopy Create free account
hub / github.com/BVLC/caffe / Timer

Method Timer

src/caffe/util/benchmark.cpp:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace caffe {
7
8Timer::Timer()
9 : initted_(false),
10 running_(false),
11 has_run_at_least_once_(false) {
12 Init();
13}
14
15Timer::~Timer() {
16 if (Caffe::mode() == Caffe::GPU) {

Callers 1

timeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected