System.h 462 B

1234567891011121314151617181920212223242526
  1. // Copyright (C) 2009-2015, Panagiotis Christopoulos Charitos.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #ifndef ANKI_UTIL_SYSTEM_H
  6. #define ANKI_UTIL_SYSTEM_H
  7. #include "anki/util/StdTypes.h"
  8. namespace anki {
  9. /// @addtogroup util_system
  10. /// @{
  11. /// Get the number of CPU cores
  12. extern U32 getCpuCoresCount();
  13. /// Print the backtrace
  14. extern void printBacktrace();
  15. /// @}
  16. } // end namespace anki
  17. #endif