Zoran interview question

how do you measure CPU usage? in C?