当前位置:网站首页>B_QuRT_User_Guide(36)
B_QuRT_User_Guide(36)
2022-07-07 23:25:00 【weixin_38498942】
B_QuRT_User_Guide(36)
- 22 System Environment
- 22.1 qurt_sysenv_get_app_heap()
- 22.2 qurt_sysenv_get_arch_version()
- 22.3 qurt_sysenv_get_hw_timer()
- 22.4 qurt_sysenv_get_max_hw_threads()
- 22.5 qurt_sysenv_get_max_pi_prio()
- 22.6 qurt_sysenv_get_process_name()
- 22.7 qurt_sysenv_get_stack_profile_count()
- 22.8 qurt_atomic64_xor_return()
- 22.9 Data Types
- 22.9.1 Data Structure Documentation
- 22.9.1.1 struct qurt_sysenv_swap_pools_t
- 22.9.1.2 struct qurt_sysenv_app_heap_t
- 22.9.1.3 struct qurt_arch_version_t
- 22.9.1.4 struct qurt_sysenv_max_hthreads_t
- 22.9.1.5 struct qurt_sysenv_hthreads_t
- 22.9.1.6 struct qurt_sysenv_max_pi_prio_t
- 22.9.1.7 struct qurt_sysenv_hw_timer_t
- 22.9.1.8 struct qurt_sysenv_procname_t
- 22.9.1.9 struct qurt_sysenv_stack_profile_count_t
- 22.9.1.10 struct qurt_sysevent_error_t
- 22.9.1.11 struct qurt_sysenv_swap_pools_t
22 System Environment
程序可以訪問QuRT系統環境的各種屬性。
最大pimutex優先級指定了一個線程在擁有優先級繼承的mutex上的鎖時可以被設置為的最高優先級。這個值使其他沒有使用pimutex的線程能够以高於pimutex最大優先級的線程優先級運行。
系統環境支持以下操作。- qurt_sysenv_get_app_heap()
- qurt_sysenv_get_arch_version()
- qurt_sysenv_get_hw_timer()
- qurt_sysenv_get_max_hw_threads()
- qurt_sysenv_get_max_pi_prio()
- qurt_sysenv_get_process_name()
- qurt_sysenv_get_stack_profile_count()
- qurt_sysenv_get_hw_threads()
- Data Types
22.1 qurt_sysenv_get_app_heap()
22.1.1 功能文檔
22.1.1.1 int qurt_sysenv_get_app_heap ( qurt_sysenv_app_heap_t ∗ aheap )
從內核中獲取程序堆的信息。
相關的數據類型
qurt_sysenv_app_heap_t
參數
返回值
QURT_EOK – Success.
QURT_EVAL – Invalid parameter.
依賴項
None.
22.2 qurt_sysenv_get_arch_version()
22.2.1 功能文檔
22.2.1.1 int qurt_sysenv_get_arch_version ( qurt_arch_version_t ∗ vers )
從內核獲取Hexagon處理器架構版本。
參數
返回值
QURT_EOK – Success.
QURT_EVAL – Invalid parameter
依賴項
None.
22.3 qurt_sysenv_get_hw_timer()
22.3.1 功能文檔
22.3.1.1 int qurt_sysenv_get_hw_timer ( qurt_sysenv_hw_timer_t ∗ timer )
從內核獲取硬件定時器的內存地址。
參數
返回值
QURT_EOK – Success.
QURT_EVAL – Invalid parameter.
依賴項
None.
22.4 qurt_sysenv_get_max_hw_threads()
22.4.1 功能文檔
22.4.1.1 int qurt_sysenv_get_max_hw_threads ( qurt_sysenv_max_hthreads_t ∗ mhwt )
獲取Hexagon處理器中支持的最大硬件線程數。API包括禁用的硬件線程,以反映最大硬件線程數。例如,如果圖像被配置為四個硬件線程,並且在cust_config.xml中hthread_mask被設置為0x5,則只有HW0和HW2被QuRT初始化。HW1和HW3根本就沒有被使用。在這種情况下,qurt_sysenv_get_max_hw_threads()仍然返回四個。
相關的數據類型
qurt_sysenv_max_hthreads_t
參數
返回值
QURT_EOK – Success.
QURT_EVAL – Invalid parameter.
依賴項
None.
22.5 qurt_sysenv_get_max_pi_prio()
22.5.1 功能文檔
22.5.1.1 int qurt_sysenv_get_max_pi_prio ( qurt_sysenv_max_pi_prio_t ∗ mpip )
從內核中獲取最大優先級的繼承突擾器優先級。
相關的數據類型
qurt_sysenv_max_pi_prio_t
參數
返回值
帶有掩碼的 64 比特原子變量的 AND 結果。
依賴項
None.
22.6 qurt_sysenv_get_process_name()
27.6.1 功能文檔
22.6.1.1 int qurt_sysenv_get_process_name ( qurt_sysenv_procname_t ∗ pname )
從內核中獲取系統環境進程名稱的信息。
相關的數據類型
qurt_sysenv_procname_t
參數
返回值
QURT_EOK – Success.
QURT_EVAL – Invalid parameter.
依賴項
None.
22.7 qurt_sysenv_get_stack_profile_count()
22.7.1 功能文檔
22.7.1.1 int qurt_sysenv_get_stack_profile_count ( qurt_sysenv_stack_profile_count- _t∗count )
從內核中獲取關於堆棧配置文件計數的信息。
相關的數據類型
qurt_sysenv_stack_profile_count_t
參數
返回值
QURT_EOK – Success.
依賴項
None.
22.8 qurt_atomic64_xor_return()
22.8.1 功能文檔
22.8.1.1 int qurt_sysenv_get_hw_threads ( qurt_sysenv_hthreads_t ∗ mhwt )
獲取QuRT在Hexagon處理器中初始化的硬件線程的數量。例如,如果圖像被配置為四個硬件線程,並且在cust_config.xml中hthread_mask被設置為0x5,QuRT只初始化HW0和HW2。HW1和HW3不被使用。在這種情况下,qurt_sysenv_get_hw_threads返回2。
相關的數據類型
qurt_sysenv_hthreads_t
參數
返回值
QURT_EOK – Success.
QURT_EVAL – Invalid parameter.
依賴項
None.
22.9 Data Types
本節描述了系統環境服務的數據類型。
22.9.1 Data Structure Documentation
22.9.1.1 struct qurt_sysenv_swap_pools_t
QuRT交換池信息類型。
22.9.1.2 struct qurt_sysenv_app_heap_t
QuRT應用堆信息類型。
22.9.1.3 struct qurt_arch_version_t
QuRT架構版本信息類型。
22.9.1.4 struct qurt_sysenv_max_hthreads_t
QuRT最大硬件線程信息類型。
22.9.1.5 struct qurt_sysenv_hthreads_t
QuRT活動硬件線程信息類型。
22.9.1.6 struct qurt_sysenv_max_pi_prio_t
QuRT最大pi優先級信息類型。
22.9.1.7 struct qurt_sysenv_hw_timer_t
22.9.1.8 struct qurt_sysenv_procname_t
QuRT進程名稱信息類型。
22.9.1.9 struct qurt_sysenv_stack_profile_count_t
QuRT堆棧概况計數信息類型。
22.9.1.10 struct qurt_sysevent_error_t
QuRT系統錯誤事件類型。
22.9.1.11 struct qurt_sysenv_swap_pools_t
QuRT頁面錯誤事件的信息類型。
边栏推荐
- Bea-3xxxxx error code
- Network security CSRF
- 14、 Two methods of database export and import
- UE4_ Ue5 panoramic camera
- 聊聊支付流程的设计与实现逻辑
- Matlab 信号处理【问答随笔·2】
- Wechat forum exchange applet system graduation design completion (6) opening defense ppt
- Turbo introder common scripts
- PCI-Express接口的PCB布线规则
- [compilation principle] lexical analysis design and Implementation
猜你喜欢
UE4_UE5全景相机
Unity3d Learning Notes 6 - GPU instantiation (1)
ArcGIS: field assignment_ The attribute table field calculator assigns values to fields based on conditions
Solve the problem of duplicate request resource paths /o2o/shopadmin/o2o/shopadmin/getproductbyid
Wechat forum exchange applet system graduation design completion (1) development outline
Puce à tension stabilisée LDO - schéma de bloc interne et paramètres de sélection du modèle
ROS2专题(03):ROS1和ROS2的区别【01】
Three questions TDM
[microservices SCG] gateway integration Sentinel
UE4_UE5结合罗技手柄(F710)使用记录
随机推荐
1. Sum of two numbers
LDO voltage stabilizing chip - internal block diagram and selection parameters
UE4_ Ue5 panoramic camera
HDU 4747 Mex「建议收藏」
深入理解Mysql锁与事务隔离级别
Wechat forum exchange applet system graduation design (3) background function
turbo intruder常用脚本
Unity3d Learning Notes 6 - GPU instantiation (1)
Wechat forum exchange applet system graduation design (5) assignment
Opencv scalar passes in three parameters, which can only be displayed in black, white and gray. Solve the problem
Wechat forum exchange applet system graduation design completion (1) development outline
Wechat forum exchange applet system graduation design (2) applet function
生鲜行业数字化采购管理系统:助力生鲜企业解决采购难题,全程线上化采购执行
【微服务|SCG】gateway整合sentinel
The text editor of markdown class should add colors to fonts (including typora, CSDN, etc.)
The 19th Zhejiang Provincial College Programming Contest VP record + supplementary questions
Tree background data storage (using webmethod) [easy to understand]
Inftnews | web5 vs Web3: the future is a process, not a destination
Count the top 10 films at the box office and save them in another file
HDU 4747 mex "recommended collection"