当前位置:网站首页>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頁面錯誤事件的信息類型。
边栏推荐
- First week of July
- Network security -beef
- 建筑建材行业SRM供应商云协同管理平台解决方案,实现业务应用可扩展可配置
- [microservices SCG] gateway integration Sentinel
- 违法行为分析1
- What are the similarities and differences between smart communities and smart cities
- Two kinds of curves in embedded audio development
- Oracle database backup and recovery
- VS扩展工具笔记
- B_QuRT_User_Guide(37)
猜你喜欢

LDO稳压芯片-内部框图及选型参数

Unity3D学习笔记6——GPU实例化(1)

聊聊支付流程的设计与实现逻辑

Add data analysis tools in Excel

Talk about the design and implementation logic of payment process

js 获取对象的key和value

漏洞复现----49、Apache Airflow 身份验证绕过 (CVE-2020-17526)

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

Three questions TDM

Vulnerability recurrence ----- 49. Apache airflow authentication bypass (cve-2020-17526)
随机推荐
Inftnews | the wide application of NFT technology and its existing problems
Freelink open source call center design idea
Wechat forum exchange applet system graduation design completion (8) graduation design thesis template
深入理解Mysql锁与事务隔离级别
Deep understanding of MySQL lock and transaction isolation level
Solution: prompt "unsupported video format" when inserting avi format video into the message
PHP uses Alibaba cloud storage
Network security -beef
ArcGIS: two methods of attribute fusion of the same field of vector elements
Network security - Eternal Blue
B_QuRT_User_Guide(40)
Opencv scalar passes in three parameters, which can only be displayed in black, white and gray. Solve the problem
One week learning summary of STL Standard Template Library
Mysql索引优化实战二
Network security - phishing
Entity层、DAO层、Service层、Controller层 先后顺序
Spark 离线开发框架设计与实现
LeeCode -- 6. Z 字形变换
海内外技术人们“看”音视频技术的未来
re1攻防世界逆向