当前位置:网站首页>B_QuRT_User_Guide(36)
B_QuRT_User_Guide(36)
2022-07-07 21:52: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页面错误事件的信息类型。
边栏推荐
- JMeter interface automated test read case, execute and write back result
- LM12丨Rolling Heikin Ashi二重K线滤波器
- Matlab SEIR infectious disease model prediction
- 系统架构设计师备考经验分享:论文出题方向
- USB (十八)2022-04-17
- Unity3D学习笔记5——创建子Mesh
- ArcGIS: field assignment_ The attribute table field calculator assigns values to fields based on conditions
- Description of longitude and latitude PLT file format
- 聊聊支付流程的设计与实现逻辑
- System design overview
猜你喜欢

高级程序员必知必会,一文详解MySQL主从同步原理,推荐收藏

LDO voltage stabilizing chip - internal block diagram and selection parameters

Specific method example of V20 frequency converter manual automatic switching (local remote switching)

【微服务|SCG】gateway整合sentinel

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

Mysql索引优化实战一

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

Description of longitude and latitude PLT file format

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

ROS2专题(03):ROS1和ROS2的区别【01】
随机推荐
Description of longitude and latitude PLT file format
Unity3d learning notes 5 - create sub mesh
Caip2021 preliminary VP
Coreseek:第二步建索引及測试
Specific method example of V20 frequency converter manual automatic switching (local remote switching)
Ros2 topic (03): the difference between ros1 and ros2 [02]
PHP uses Alibaba cloud storage
Oracle database backup and recovery
Talk about the design and implementation logic of payment process
欢聚时代一面
Kubernetes' simplified data storage storageclass (creation, deletion and initial use)
云原生正在吞噬一切,开发者该如何应对?
Network security -burpsuit
经纬度PLT文件格式说明
In the field of software engineering, we have been doing scientific research for ten years!
2022第六季完美童模陕西总决赛圆满落幕
USB(十四)2022-04-12
Inftnews | the wide application of NFT technology and its existing problems
Cloud native data warehouse analyticdb MySQL user manual
POJ2392 SpaceElevator [DP]