Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6
namespace caffe {
7
8
Timer::Timer()
9
: initted_(false),
10
running_(false),
11
has_run_at_least_once_(false) {
12
Init();
13
}
14
15
Timer::~Timer() {
16
if (Caffe::mode() == Caffe::GPU) {
Callers
1
time
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected