PROFILE_PORT Examples - 2023.2 English

Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393)

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 English
  1. To enable profiling for all ports of all kernels:
    PROFILE_PORT("all");
  2. To enable profiling for all ports of hls_kernel function on compute unit 0 and 2:
    PROFILE_PORT("hls_kernel[0]/all hls_kernel[2]/all");
  3. To enable profiling for all ports of all instances of hls_df_kernel:
    PROFILE_PORT("hls_df_kernel/all");
  4. To enable profiling on port A in hls_kernel for compute unit 0 and port C in hls_kernel for compute unit 2:
    PROFILE_PORT("hls_kernel[0]/A hls_kernel[2]/C");
  5. To enable profiling on port A for all instances of hls_kernel and port C for all instances of hls_kernel:
    PROFILE_PORT("hls_kernel/A hls_kernel/C");