At run-time, timing values are obtained by statistical sampling.
In some versions, such as BSD, profiling of shared libraries can be limited because of restrictions of the profil function, which may be implemented as library function or as system call.