Removed perfcounter_read() and perfcounter_freq() functions, since we can use QElapsedTimer for this purpose.