当前位置:网站首页>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页面错误事件的信息类型。
边栏推荐
猜你喜欢

Installing spss25

包装行业智能供应链S2B2B商城解决方案:开辟电商消费新生态

Wechat forum exchange applet system graduation design completion (6) opening defense ppt

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

Inftnews | the wide application of NFT technology and its existing problems

Deep understanding of MySQL lock and transaction isolation level

Binary tree

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

LDO voltage stabilizing chip - internal block diagram and selection parameters
随机推荐
2021ICPC上海 H.Life is a Game Kruskal重构树
14、 Two methods of database export and import
Gee (III): calculate the correlation coefficient between two bands and the corresponding p value
Network security -burpsuit
云原生正在吞噬一切,开发者该如何应对?
系统架构设计师备考经验分享:论文出题方向
Technology at home and abroad people "see" the future of audio and video technology
UE4_UE5全景相机
Adults have only one main job, but they have to pay a price. I was persuaded to step back by personnel, and I cried all night
Network security CSRF
JMeter interface automated test read case, execute and write back result
648. 单词替换
USB(十五)2022-04-14
Coreseek:第二步建索引及測试
解决:信息中插入avi格式的视频时,提示“unsupported video format”
The text editor of markdown class should add colors to fonts (including typora, CSDN, etc.)
欢聚时代一面
PCI-Express接口的PCB布线规则
When copying something from the USB flash disk, an error volume error is reported. Please run CHKDSK
Network security sqlmap and DVWA explosion