当前位置:网站首页>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頁面錯誤事件的信息類型。
边栏推荐
- Opencv scalar passes in three parameters, which can only be displayed in black, white and gray. Solve the problem
- POJ2392 SpaceElevator [DP]
- Entity层、DAO层、Service层、Controller层 先后顺序
- Wechat forum exchange applet system graduation design completion (6) opening defense ppt
- UE4_UE5全景相机
- 欢聚时代一面
- Wechat forum exchange applet system graduation design (2) applet function
- 2022第六季完美童模陕西总决赛圆满落幕
- LDO稳压芯片-内部框图及选型参数
- Wechat forum exchange applet system graduation design completion (4) opening report
猜你喜欢

云原生正在吞噬一切,开发者该如何应对?

LeeCode -- 6. Z 字形变换
![给出一个数组,如 [7864, 284, 347, 7732, 8498],现在需要将数组中的数字拼接起来,返回「最大的可能拼出的数字」](/img/21/2e99dd6173ab4925ec22290cd4a357.png)
给出一个数组,如 [7864, 284, 347, 7732, 8498],现在需要将数组中的数字拼接起来,返回「最大的可能拼出的数字」

js 获取对象的key和value
![Ros2 topic (03): the difference between ros1 and ros2 [02]](/img/12/244ea30b5b141a0f47a54c08f4fe9f.png)
Ros2 topic (03): the difference between ros1 and ros2 [02]

UE4_ Use of ue5 blueprint command node (turn on / off screen response log publish full screen display)

Oracle database backup and recovery

ArcGIS: field assignment_ The attribute table field calculator assigns values to fields based on conditions

城联优品作为新力量初注入,相关上市公司股价应声上涨150%

Spark 离线开发框架设计与实现
随机推荐
LeeCode -- 6. Z 字形变换
家用电器行业渠道商协同系统解决方案:助力家电企业快速实现渠道互联网化
2022第六季完美童模陕西总决赛圆满落幕
Network security - phishing
系统设计概述
Force deduction solution summary 648 word replacement
Three questions TDM
Wechat forum exchange applet system graduation design completion (1) development outline
One week learning summary of STL Standard Template Library
First week of July
PCB wiring rules of PCI Express interface
VS扩展工具笔记
产业共融新势能,城链科技数字峰会厦门站成功举办
In the field of software engineering, we have been doing scientific research for ten years!
USB (XV) 2022-04-14
Add data analysis tools in Excel
【微服务|SCG】gateway整合sentinel
The 19th Zhejiang Provincial Collegiate Programming Contest 2022浙江省赛 F.EasyFix 主席树
Adrnoid Development Series (XXV): create various types of dialog boxes using alertdialog
Wechat forum exchange applet system graduation design (3) background function