MCPcopy Create free account
hub / github.com/FeiYull/TensorRT-Alpha / DeviceTimer

Method DeviceTimer

utils/utils.cpp:261–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261utils::DeviceTimer::DeviceTimer()
262{
263 cudaEventCreate(&start);
264 cudaEventCreate(&end);
265 cudaEventRecord(start);
266}
267
268float utils::DeviceTimer::getUsedTime()
269{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected