当前位置:网站首页>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頁面錯誤事件的信息類型。
边栏推荐
- Network security -beef
- 伸展树(一) - 图文解析与C语言实现
- In the field of software engineering, we have been doing scientific research for ten years!
- Wechat forum exchange applet system graduation design completion (1) development outline
- Talk about the design and implementation logic of payment process
- Coreseek: the second step is index building and testing
- Unity3d learning notes 5 - create sub mesh
- Bit operation
- LDO voltage stabilizing chip - internal block diagram and selection parameters
- Oracle-数据库的备份与恢复
猜你喜欢

JS get the key and value of the object

Gee (IV): calculate the correlation between two variables (images) and draw a scatter diagram

UE4_UE5蓝图command节点的使用(开启关闭屏幕响应-log-发布全屏显示)

Matlab-SEIR传染病模型预测

Talk about the design and implementation logic of payment process

2021icpc Shanghai h.life is a game Kruskal reconstruction tree

2021ICPC上海 H.Life is a Game Kruskal重构树

Wechat forum exchange applet system graduation design completion (1) development outline

STL标准模板库(Standard Template Library)一周学习总结

LM12丨Rolling Heikin Ashi二重K线滤波器
随机推荐
ROS2专题(03):ROS1和ROS2的区别【02】
Wechat forum exchange applet system graduation design completion (7) Interim inspection report
Matlab 信号处理【问答随笔·2】
生鲜行业数字化采购管理系统:助力生鲜企业解决采购难题,全程线上化采购执行
Coreseek:第二步建索引及測试
聊聊支付流程的设计与实现逻辑
LDO稳压芯片-内部框图及选型参数
When copying something from the USB flash disk, an error volume error is reported. Please run CHKDSK
Unity3d learning notes 4 - create mesh advanced interface
Inftnews | the wide application of NFT technology and its existing problems
Coreseek: the second step is index building and testing
PHP uses Alibaba cloud storage
Entity层、DAO层、Service层、Controller层 先后顺序
电子设备行业智能供应链协同平台解决方案:解决低效, 赋能产业数字化升级
家用电器行业渠道商协同系统解决方案:助力家电企业快速实现渠道互联网化
2021ICPC上海 H.Life is a Game Kruskal重构树
Two kinds of curves in embedded audio development
Specific method example of V20 frequency converter manual automatic switching (local remote switching)
Network security CSRF
Deep understanding of MySQL lock and transaction isolation level