Src/GPUPerfAPI-Common/GPADataRequest.h
bool End()
    {
        // make sure this request is valid before trying to end it.
        if (m_isRequestStarted == false || m_isRequestActive == false)
        {
            return false;
        }

        bool result = EndRequest();

        if (result)
        {
            // Since the request ended successfully, mark that it is no longer started.
            // The results haven't been collected though, so it is still considered active.
            m_isRequestStarted = false;
        }

        return result;
    }
/// Ends a counter sample.
/// \return True on success; false on error.
Ends a counter sample.
\return True on success; false on error.
Ends a counter sample . \ return True on success ; false on error .
bool End()
    {
        if (m_isRequestStarted == false || m_isRequestActive == false)
        {
            return false;
        }
        bool result = EndRequest();
        if (result)
        {
            m_isRequestStarted = false;
        }
        return result;
    }
bool End ( ) { if ( m_isRequestStarted == false || m_isRequestActive == false ) { return false ; } bool result = EndRequest ( ) ; if ( result ) { m_isRequestStarted = false ; } return result ; }
Ends a counter sample.
Ends a counter sample .
// make sure this request is valid before trying to end it. // Since the request ended successfully, mark that it is no longer started. // The results haven't been collected though, so it is still considered active.