In question about "total cpu usage of an application from /proc/pid/stat" is explanation, how to get cpu usage, but to do it, we must know clock ticks.
But how I can get this value in Android (directly from device)? I just don´t get how to use following function in Android, because it seems to be Linux command.
Hertz (number of clock ticks per second) of your system. In most cases, sysconf(_SC_CLK_TCK) can be used to return the number of clock ticks.