当前位置:网站首页>Sim Api User Guide(5)
Sim Api User Guide(5)
2022-04-23 09:55:00 【weixin_38498942】
Sim Api User Guide(5)
2.9.13 ConfigureProfileMode
Prototype
HEXAPI_Status ConfigureProfileMode(bool bTimeZero)
Parameters
Return
Description
指定gprof剖析是否从零时间开始。
对于RTOS应用,开始时间为0表示剖析数据收集立即开始,因此包括操作系统的启动指令。
如果bTimeZero被设置为1,gprof剖析数据收集从时间零开始。
如果bTimeZero被设置为0,gprof配置文件数据收集不从时间零开始,因此不包括操作系统启动指令。
因此不包括配置文件数据中的操作系统启动指令。
hexagon-sim中的–profile_timezero选项类似于这个功能。
2.9.14 ConfigureCoreFrequency
Prototype
HEXAPI_Status ConfigureCoreFrequency(HEX_8u_t ClkHz)
Parameters
Return
Description
配置初始Hexagon核心频率。
hexagon-sim中的 --dsp_clock MHz选项与此函数类似。注意,命令行选项指定的频率是MHz,而这个函数指定的频率是Hz。
2.9.15 ConfigureTimingMode
Prototype
HEXAPI_Status ConfigureTimingMode(HEXAPI_TimingMode mode)
Parameters
Return
Description
启用或禁用计时模式。这将打开或关闭高速缓存和核心流水线的滞后建模。只有当计时模式被启用时,才能保证正确的外部总线行为。
2.9.16 ConfigureSimStdin
Prototype
HEXAPI_Status ConfigureSimStdin(const char *pStdin,
HEXAPI_OpenMode mode = HEX_MODE_READ)
Parameters
Return
Description
配置模拟程序的标准输入。模拟程序的任何读操作,如果明确或隐含地指定了stdin,就会从与pStdin文件相关的文件中获得输入。
在pStdin中传递一个NULL值将恢复到调用进程的stdin。
注意 hexagon-sim中的-sim_in选项与此函数类似。
2.9.17 ConfigureSimStdout
Prototype
HEXAPI_Status ConfigureSimStdout(const char *pStdout,
HEXAPI_OpenMode mode = HEX_MODE_WRITE)
Parameters
Return
Description
配置模拟程序的标准输出。模拟程序的任何写操作,如果明确或隐含地指定了stdout,就会将其输出写入与pStdout文件相关的文件。
在pStdout中传递一个NULL值将恢复到调用进程的stdout。
注意 hexagon-sim中的-sim_out选项与此函数类似。
2.9.18 ConfigureSimStderr
Prototype
HEXAPI_Status ConfigureSimStderr(const char *pStderr,
HEXAPI_OpenMode mode = HEX_MODE_WRITE)
Parameters
Return
Description
配置模拟程序的标准错误输出。模拟程序的任何写操作,如果明确或隐含地指定了stderr,就会将其输出写入与pStderr文件相关的文件。
在pStderr中传递一个NULL值将恢复到调用进程的stderr。
注意 hexagon-sim中的-sim_err选项与此函数类似。
2.9.19 ConfigureExecutableBinary
Prototype
HEXAPI_Status ConfigureExecutableBinary(const char *pElfFile)
Parameters
Return
Description
指定要加载到 Hexagon 仿真器中进行仿真的二进制文件。
注意 pElfFile 是使用 HEX_MODE_READBINARY 模式打开的。
版权声明
本文为[weixin_38498942]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_38498942/article/details/124314387
边栏推荐
- SQL调优系列文章之—SQL性能方法论
- CSP认证 202203-2 出行计划(多种解法)
- 第一章 Oracle Database In-Memory 相关概念(续)(IM-1.2)
- SAP excel has completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.
- 云身份过于宽松,为攻击者打开了大门
- 理解作用域
- The central control learning infrared remote control module supports network and serial port control
- 1D / 1D dynamic programming learning summary
- Golang force buckle leetcode 396 Rotation function
- Redis 内存占满导致的 Setnx 命令执行失败
猜你喜欢
Custom login failure handling
Comparison of overloading, rewriting and hiding
SAP 03-amdp CDs table function using 'with' clause
构建元宇宙时代敏捷制造的九种能力
The sap export excel file opens and shows that the file format and extension of "XXX" do not match. The file may be damaged or unsafe. Do not open it unless you trust its source. Do you still want to
Amazon cloud technology entry Resource Center, easy access to the cloud from 0 to 1
JS DOM event
Leetcode question bank 78 Subset (recursive C implementation)
MapReduce压缩
Construire neuf capacités de fabrication agile à l'ère métacosmique
随机推荐
art-template 模板引擎
Number theory blocking (integer division blocking)
论文阅读《Integrity Monitoring Techniques for Vision Navigation Systems》——3背景
"Gu Yu series" airdrop
Explanation of order and primitive root of number theory
SAP excel has completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.
[codeforces - 208e] blood cousins
Function realization of printing page
MapReduce计算流程详解
構建元宇宙時代敏捷制造的九種能力
A concise course of fast Fourier transform FFT
DBA常用SQL语句(2)— SGA和PGA
打印页面的功能实现
GCD of p2257 YY (Mobius inversion)
Redis 过期 key 清理删除策略汇总
Comparative analysis of meta universe from the dimension of knowledge dissemination
LeetCode 1249. Minimum Remove to Make Valid Parentheses - FB高频题1
Understand scope
NEC红外遥控编码说明
从知识传播的维度对比分析元宇宙