System.h 331 B

123456789101112131415161718192021222324
  1. #ifndef ANKI_UTIL_SYSTEM_H
  2. #define ANKI_UTIL_SYSTEM_H
  3. #include "anki/util/StdTypes.h"
  4. namespace anki {
  5. /// @addtogroup util
  6. /// @{
  7. /// @addtogroup system
  8. /// @{
  9. /// Get the number of CPU cores
  10. extern U32 getCpuCoresCount();
  11. /// Print the backtrace
  12. extern void printBacktrace();
  13. /// @}
  14. /// @}
  15. } // end namespace anki
  16. #endif