diff options
Diffstat (limited to 'payloads/libpayload/i386/timer.c')
-rw-r--r-- | payloads/libpayload/i386/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/i386/timer.c b/payloads/libpayload/i386/timer.c index a787646073..e11973f2fa 100644 --- a/payloads/libpayload/i386/timer.c +++ b/payloads/libpayload/i386/timer.c @@ -62,6 +62,8 @@ unsigned int get_cpu_speed(void) * Multiply that by the number of measured clocks to get the kHz value. */ cpu_khz = (unsigned int)((end - start) * 1193180U / (1000 * 0xffff)); + + return cpu_khz; } static inline void _delay(unsigned int delta) |