I want to detect whether Intel Quick Sync is present and enabled on the processor. FYI, it may be disabled (powered down) if you have no video cable plugged into the motherboard, or can be disabled in the BIOS. Thanks Ron
Asked
Active
Viewed 247 times
2 Answers
0
There is no general solution for something like this, the code would have to be specific to the OS you are running. It would likely boil down to a system call to determine the feature set of the processor you are running i.e. maybe something like cat /proc/cpuinfo
if you were running Linux for example.
There are multiple ways to execute a system call in C++. Take a look at some of the previous answers here How to execute a command and get output of command within C++ using POSIX?

Justin Randall
- 2,243
- 2
- 16
- 23
0
You can port the Intel System Analyzer Utility for Linux to C++ from Python. That's what I ended up doing.
That tool uses the output of cat /proc/cpuinfo
and lspci
to collect some info about the CPU, GPU, and software installation.

Danny
- 2,482
- 3
- 34
- 48