tests/cuda2.3/sdk/stopwatch.cpp
void
    destroy( const unsigned int& name) 
    {
        // get index into global memory
        swatches_size_type  pos = nameToIndex( name);
        // delete stop watch
        delete StopWatchC::swatches[pos];
        // invalidate storage
        StopWatchC::swatches[pos] = NULL;
    }
//////////////////////////////////////////////////////////////////////////////
// Delete the stop watch with the name \a name
//////////////////////////////////////////////////////////////////////////////
Delete the stop watch with the name \a name
Delete the stop watch with the name \ a name
void
    destroy( const unsigned int& name) 
    {
        swatches_size_type  pos = nameToIndex( name);
        delete StopWatchC::swatches[pos];
        StopWatchC::swatches[pos] = NULL;
    }
void destroy ( const unsigned int & name ) { swatches_size_type pos = nameToIndex ( name ) ; delete StopWatchC :: swatches [ pos ] ; StopWatchC :: swatches [ pos ] = NULL ; }
Delete the stop watch with the name \a name
Delete the stop watch with the name \ a name
// get index into global memory // delete stop watch // invalidate storage