Xilinx / SDSoC-Tutorials

SDSoC™ (Software-Defined System-On-Chip) Environment Tutorials
146 stars 53 forks source link

Question regarding setting root function for performance estimation #24

Open peter2chang opened 5 years ago

peter2chang commented 5 years ago

Hi, In lab 2 performance estimation, it seems not all function calls in the main.cpp can be set as root function. Only the ones with small "S" letter on the upper right of the green dots ahead of the function names were displayed in the "select root function" window, if it is possible to select any function we want? And once I set root function from main to others, I was not able to see the main function in the “select root function windows” again in order to change back. Is there anyway to set it back? Thank you in advance! performance2

sgrace-xlnx commented 5 years ago

Hi,

It is best to not change the root function unless you're trying to compare the root function and your accelerated functions to each other. You should be able to manually change it back to main(int, char*[]) but I have not tried that. What function did you change it to?