cpuusage.h 538 B

1234567891011121314151617181920212223
  1. /*
  2. * File : cpuusage.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2011, RT-Thread Develop Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2011-03-03 lgnq
  13. */
  14. #ifndef __CPUUSAGE_H__
  15. #define __CPUUSAGE_H__
  16. #define CPU_UPDATE 1
  17. void cpu_usage_get(rt_uint8_t *major, rt_uint8_t *minor);
  18. void rt_hw_cpu_init(void);
  19. #endif /*__ADC_H__ */