src/runtime_src/xdp/profile/device/device_intf.cpp
size_t DeviceIntf::readTrace(xclTraceResultsVector& traceVector)
  {
    if (mVerbose) {
      std::cout << __func__ << ", " << std::this_thread::get_id()
                << ", " << &traceVector
                << ", Reading device trace stream..." << std::endl;
    }

    traceVector.mLength = 0;
    if (!mIsDeviceProfiling || !mFifoRead)
   	  return 0;

    size_t size = 0;
    size += mFifoRead->readTrace(traceVector, getTraceCount());

    return size;
  }
// Read all values from APM trace AXI stream FIFOs
Read all values from APM trace AXI stream FIFOs
Read all values from APM trace AXI stream FIFOs
size_t DeviceIntf::readTrace(xclTraceResultsVector& traceVector)
  {
    if (mVerbose) {
      std::cout << __func__ << ", " << std::this_thread::get_id()
                << ", " << &traceVector
                << ", Reading device trace stream..." << std::endl;
    }
    traceVector.mLength = 0;
    if (!mIsDeviceProfiling || !mFifoRead)
   	  return 0;
    size_t size = 0;
    size += mFifoRead->readTrace(traceVector, getTraceCount());
    return size;
  }
size_t DeviceIntf :: readTrace ( xclTraceResultsVector & traceVector ) { if ( mVerbose ) { std :: cout << __func__ << " " << std :: this_thread :: get_id ( ) << " " << & traceVector << " " << std :: endl ; } traceVector . mLength = 0 ; if ( ! mIsDeviceProfiling || ! mFifoRead ) return 0 ; size_t size = 0 ; size += mFifoRead -> readTrace ( traceVector , getTraceCount ( ) ) ; return size ; }
Read all values from APM trace AXI stream FIFOs
Read all values from APM trace AXI stream FIFOs