当前位置:网站首页>Sim Api User Guide(4)
Sim Api User Guide(4)
2022-04-23 10:05:00 【weixin_ thirty-eight million four hundred and ninety-eight thou】
Sim Api User Guide(4)
2.9.7 ConfigureBusPenalty
Prototype
HEXAPI_Status ConfigureBusPenalty(HEX_8u_t BusPenaltyInterval,
HEXAPI_Interval units)
Parameters

Return

Description
Configure the default latency for bus access for the entire memory range . This delay can be achieved by connecting a bus for the appropriate address range cosim And be covered . The delay is determined by the clock frequency of the kernel , simulation “ real time ”, Just like the kernel runs at a specified frequency . And the actual time ( Wall clock time ) Not directly related .
The granularity of the time increment is determined by the current core frequency setting . The smallest particle size corresponds to the time required for a single processor cycle . All time values are scaled according to the current processor clock frequency , If the core frequency changes , Then zoom again .
hexagon-sim Medium -buspenalty cycles Options are similar to this function , It's just that the function accepts a time value instead of the number of cycles .
2.9.8 ConfigureCosim
Prototype
HEXAPI_Status ConfigureCosim(const char *pCosimConfigFile,
HEXAPI_OpenMode mode = HEX_MODE_READ)
Parameters

Return

Description
The external cosim Insert the simulator .cosim(s) You can register to get memory read / Write 、 Bus access 、PC Execute callbacks for events and time-based Events . You can specify multiple cosim, And list... In different lines of the configuration file .
cosim Examples of configuration file contents .
/local/Hexagon_tools_install/qc/lib/iss/timer.so 32000 0xAB000000 2 /local/Hexagon_tools_install/qc/lib/iss/timer.so 19200000 0xAB004000 3 /local/MM_cosim/ebi_bus.so 0x100000
hexagon-sim Medium –cosim_file The file name option is similar to this function .
2.9.9 ConfigureOSAwareness
Prototype
HEXAPI_Status ConfigureOSAwareness(const char *pOsamConfigFile,
HEXAPI_OpenMode mode = HEX_MODE_READ)
Parameters

Return

Description
Insert... Into an operating system module . The following operating system callbacks can be registered .
- The debugger gets the status of the software thread 、 Mutually exclusive information, etc .
- 2.PC Execution event .
- Virtual to physical conversion , Used for service Angel call ( Semi trusteeship ).
hexagon-sim Medium -rtos The file name option is similar to this function .
2.9.10 ConfigureQProf
Prototype
HEXAPI_Status ConfigureQProf (const char *pQProfConfigFile, HEXAPI_OpenMode mode = HEX_MODE_READ,
const char *qprofPath = NULL, HEX_4u_t port = 0)
Parameters

Return

Description
Configure the data dump of the graphics analyzer . See Hexagon Simulator User guide . The profiling file is created in the specified directory . If the offer is NULL Catalog , Then create a file in the current working directory .
The configuration file uses mode as the opening mode . Generated qprof The file is opened for writing , Replace existing qprof The content of the document ( If any ), No warning .
hexagon-sim Medium –qprof File name and –qprof:pipe port Options are similar to this function .
2.9.11 ConfigureRProf
Prototype
HEXAPI_Status ConfigureRProf (const char *pRProfConfigFile,
HEXAPI_OpenMode mode = HEX_MODE_READ)
Parameters

Return

Description
Configure the parameters of the area analyzer . See Hexagon Simulator User guide . Regional profiling data is attached to the statistical file . See also 2.9.22 section .
hexagon-sim Medium –region_prof The file name option is similar to this function .
2.9.12 ConfigureGProf
Prototype
HEXAPI_Status ConfigureGProf(const char *gprofPath = NULL)
Parameters

Return

Description
by GNU Analyzer configuration data dump . See 《Hexagon Simulator User guide 》. The profiling file will be created in the specified directory . If the offer is NULL Catalog , The file will be created in the current working directory . The simulator overwrites the existing file without warning .
hexagon-sim Medium –profile Options are similar to this function .
Be careful If you do not make this configuration call ,gprof Profiling will be disabled . Whether or not gprofPath Parameters , Make this call to enable gprof analyse . Once this call is made , There is no way to disable... In this session gprof Dissected .
版权声明
本文为[weixin_ thirty-eight million four hundred and ninety-eight thou]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230955087428.html
边栏推荐
- 杰理之AES能256bit吗【篇】
- [ACM-ICPC 2018 Shenyang Network preliminaries] J. Ka Chang (block + DFS sequence)
- 论文阅读《Integrity Monitoring Techniques for Vision Navigation Systems》——3背景
- 面试官:说几个PHP常用函数,幸好我面试之前看到了这篇文章
- Planning and construction of industrial meta universe platform
- Pyqt5与通信
- Turn: Maugham: reading is a portable refuge
- 实践六 Windows操作系统安全攻防
- Code source daily question div1 (701-707)
- DBA常用SQL语句(3)- cache、undo、索引和等待事件
猜你喜欢

2022年广东省安全员A证第三批(主要负责人)考试试题及答案

Comparative analysis of meta universe from the dimension of knowledge dissemination

Shell script interaction free

C language: expression evaluation (integer promotion, arithmetic conversion...)

【无标题】

Computer network security experiment II DNS protocol vulnerability utilization experiment

MapReduce压缩

Construire neuf capacités de fabrication agile à l'ère métacosmique

从知识传播的维度对比分析元宇宙

深度选择器
随机推荐
ansible 云计算 自动化
Es aggregation aggregation analysis
ansible 云计算 自动化 命令行精简版
ansible playbook语法和格式 自动化云计算
NEC infrared remote control coding description
[lnoi2014] LCA - tree chain subdivision - multipoint LCA depth and problems
通过流式数据集成实现数据价值(2)
P1390 sum of common divisor (Mobius inversion)
Yarn核心参数配置
SQL tuning series - SQL performance methodology
formatTime时间戳格式转换
第二章 Oracle Database In-Memory 体系结构(上) (IM-2.1)
DBA常用SQL语句(4)- Top SQL
Chapter 1 Oracle database in memory related concepts (im-1.1)
MapReduce压缩
第二章 In-Memory 体系结构 (IM-2.2)
DBA common SQL statements (5) - latch related
SQL调优系列文章之—SQL性能方法论
Chapter 3 enable and adjust the size of IM column storage (im-3.1)
A concise course of fast Fourier transform FFT