diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-27 19:28:36 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-28 16:35:26 +0300 |
commit | b3e2c6941620773ccfba833f9945e2fce5169bb7 (patch) | |
tree | 52d923af110622def9cf5162305438ae9bce9894 /source/blender/blenlib/BLI_system.h | |
parent | 683662e630b855947b7e083ca6cde0cfe7694687 (diff) |
Add utility function to query CPU brand string
Diffstat (limited to 'source/blender/blenlib/BLI_system.h')
-rw-r--r-- | source/blender/blenlib/BLI_system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_system.h b/source/blender/blenlib/BLI_system.h index f51b9623803..7f88f8a18b1 100644 --- a/source/blender/blenlib/BLI_system.h +++ b/source/blender/blenlib/BLI_system.h @@ -30,6 +30,10 @@ int BLI_cpu_support_sse2(void); void BLI_system_backtrace(FILE *fp); + +/* Get CPU brand, result is to be MEM_freeN()-ed. */ +char *BLI_cpu_brand_string(void); + /* getpid */ #ifdef WIN32 # define BLI_SYSTEM_PID_H <process.h> |