How to unify the total time and Clockticks events?

How to unify the total time and Clockticks events?

Hi, all

Can we unify the total time and Clockticks events. E.g. If A is a function that has no callees, then its Clockticks events is total Clockticks events. So is B.

But why A's total Clockticks events / A's total time is not equal to B's total Clockticks events / B's total time?

How to get total Clockticks events of a function if we konw the total time?

Clockticks event means the event "CPU_CLK_UNHALTED"

Thanks

1 Beitrag / 0 neu
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.