当前位置:网站首页>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
边栏推荐
- 最长公共前串
- Odoo server setup notes
- ARM调试(1):两种在keil中实现printf重定向到串口的方法
- SAP 03-amdp CDs table function using 'with' clause
- SAP RFC_ CVI_ EI_ INBOUND_ Main BP master data creation example (Demo customer only)
- Formattime timestamp format conversion
- 中控学习型红外遥控模块支持网络和串口控制
- SAP salv14 background output salv data can directly save files and send emails (with sorting, hyperlink and filtering format)
- 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
- 2022茶艺师(初级)考试试题模拟考试平台操作
猜你喜欢
SAP ECC connecting SAP pi system configuration
Redis 内存占满导致的 Setnx 命令执行失败
Leetcode0587. Install fence
Dropout技术之随机神经元与随机深度
解决VMware卸载后再安装出现的问题
Epidemic prevention registration applet
構建元宇宙時代敏捷制造的九種能力
Nine abilities of agile manufacturing in the era of meta universe
工业元宇宙平台规划与建设
Random neurons and random depth of dropout Technology
随机推荐
Explanation of order and primitive root of number theory
Kernel PWN learning (4) -- double fetch & 0ctf2018 baby
Failureforwardurl and failureurl
SAP pi / PO function operation status monitoring and inspection
Interviewer: let's talk about some commonly used PHP functions. Fortunately, I saw this article before the interview
[hdu6868] absolute math (pusher + Mobius inversion)
工业元宇宙平台规划与建设
雨生百谷,万物生长
Kernel PWN learning (3) -- ret2user & kernel ROP & qwb2018 core
Introduction to graph theory -- drawing
通过流式数据集成实现数据价值(5)- 流处理
[lnoi2014] LCA - tree chain subdivision - multipoint LCA depth and problems
1D / 1D dynamic programming learning summary
Redis 异常 read error on connection 解决方案
Longest common front string
MacOS下使用CLion编译调试MySQL8.x
DBA常用SQL语句(1)— 概况信息
Example of data object mask used by SAP translate
通过流式数据集成实现数据价值(4)-流数据管道
第二章 In-Memory 体系结构 (IM-2.2)