/** * Linux userspace BogoMIPS counting * * @file platon/cpu/bogomips.h * @author Linus Torvalds and other contributors of Linux/2.2 kernel * @version \$Platon: libplaton/platon/cpu/bogomips.h,v 1.6 2003-04-23 19:01:37 nepto Exp $ * @date 2002-2003 [created: 5/2/2002] */ #ifndef _PLATON_MISC_BOGOMIPS_H #define _PLATON_MISC_BOGOMIPS_H /** Alias for get_userspace_loops_per_sec() */ #define get_loops_per_sec get_userspace_loops_per_sec #ifdef __cplusplus extern "C" { #endif /** * Get BogoMIPS * * @return number of loops per seconds in userspace, -1 on error * * Note, that this function does not work. Reason for this is unclear. */ unsigned long get_userspace_loops_per_sec(void); #ifdef __cplusplus } #endif #endif /* #ifndef _PLATON_MISC_BOGOMIPS_H */