Hello liu.madeon@inventec.com,
I will try to provide an answer for this, so paulvlase or constantinrazvan.chivu correct me if I am wrong.
First of all, there is a thing that must be known for Simulink, starting with the latest versions. For the referenced models in order to open the actual referenced model, you have to press on the left side icon. Otherwise on double click the reference model you will only open its content but all the setting will be performed only on the top model.

Now, there are two ways of getting the profiler in PIL:
1. Enabling the Simulink verification for the top and the referenced models: but this has to be done for both top and the referenced models! You can update the Detailed execution time. But you need to quit using the profiler blocks.

And the results will be similar to this:

2. You disable the Measure task execution time and use the profile blocks:
Now there two types: Profile function - (yellow) which adds code at the beginning and at the end of the function and measures the ticks between them. or the Get current bus tick number which basically returns the current bus tick count.

If you will put the output values on a scope you will get the following results:

Hope this helps,
Marius