MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / sdkDeleteTimer

Function sdkDeleteTimer

Common/helper_timer.h:385–393  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////// Delete a timer @return true if a time has been deleted, otherwise false @param name of the timer to delete ///////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

383//! @param name of the timer to delete
384////////////////////////////////////////////////////////////////////////////////
385inline bool sdkDeleteTimer(StopWatchInterface **timer_interface) {
386 // printf("sdkDeleteTimer called object %08x\n", (void *)*timer_interface);
387 if (*timer_interface) {
388 delete *timer_interface;
389 *timer_interface = NULL;
390 }
391
392 return true;
393}
394
395////////////////////////////////////////////////////////////////////////////////
396//! Start the time with name \a name

Callers 15

cleanupFunction · 0.85
operator()Method · 0.85
mainFunction · 0.85
operator()Method · 0.85
cleanupFunction · 0.85
operator()Method · 0.85
operator()Method · 0.85
cleanupFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 4

operator()Method · 0.68
operator()Method · 0.68
operator()Method · 0.68
operator()Method · 0.68