base/system/cpu/private/linux_impl/cpu_features.h¶
CPU Feature Detection (SSE, AVX, AES, etc.) More...
Functions¶
| Name | |
|---|---|
| void | query_cpu_features(std::vector< std::string > & feats) Internal Linux Query for CPU features. |
Detailed Description¶
CPU Feature Detection (SSE, AVX, AES, etc.)
Author: Charliechen114514 (chengh1922@mails.jlu.edu.cn)
Version: 0.1
Date: 2026-02-22
Copyright: Copyright © 2026
Functions Documentation¶
function query_cpu_features¶
Internal Linux Query for CPU features.
Parameters:
- feats Output parameter to store detected CPU feature names.
- feats Output parameter to store detected CPU feature names
Exceptions:
- None (error reporting via return code if applicable).
Return: cf::expected
Since: 0.1
Note: None.
Warning: None.
Internal Linux Query for CPU features.
Source code¶
#pragma once
#include <string>
#include <vector>
void query_cpu_features(std::vector<std::string>& feats);
Updated on 2026-03-09 at 10:14:01 +0000