CN111989655A - 一种soc芯片、确定热点函数的方法及终端设备 - Google Patents

一种soc芯片、确定热点函数的方法及终端设备 Download PDF

Info

Publication number
CN111989655A
CN111989655A CN201980014028.1A CN201980014028A CN111989655A CN 111989655 A CN111989655 A CN 111989655A CN 201980014028 A CN201980014028 A CN 201980014028A CN 111989655 A CN111989655 A CN 111989655A
Authority
CN
China
Prior art keywords
function
module
instruction
soc chip
calling information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201980014028.1A
Other languages
English (en)
Other versions
CN111989655B (zh
Inventor
李时骁
李向坤
董航
周晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN111989655A publication Critical patent/CN111989655A/zh
Application granted granted Critical
Publication of CN111989655B publication Critical patent/CN111989655B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种SOC芯片、确定热点函数的方法及终端设备,其中SOC芯片包括处理模块和记录模块,处理模块用于确定需要进行热点函数统计后,在执行程序的过程中,若读取到函数进入或返回的指令,则执行函数进入或返回的操作以及向记录模块发送第一控制信号;记录模块用于接收到第一控制信号后,记录函数的调用信息;函数的调用信息用于确定函数是否为热点函数。本申请实施例中,处理模块在读取到函数进入或返回的指令后,通过向记录模块发送控制信号,即可实现记录函数的调用信息,从而后续可基于记录的函数的调用信息来确定热点函数;由于控制信号不影响函数的执行,因此处理模块进入函数后,可继续执行函数,从而对程序运行的影响较小。

Description

PCT国内申请,说明书已公开。

Claims (15)

  1. PCT国内申请,权利要求书已公开。
CN201980014028.1A 2019-03-22 2019-03-22 一种soc芯片、确定热点函数的方法及终端设备 Active CN111989655B (zh)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/079344 WO2020191549A1 (zh) 2019-03-22 2019-03-22 一种soc芯片、确定热点函数的方法及终端设备

Publications (2)

Publication Number Publication Date
CN111989655A true CN111989655A (zh) 2020-11-24
CN111989655B CN111989655B (zh) 2022-03-29

Family

ID=72610472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980014028.1A Active CN111989655B (zh) 2019-03-22 2019-03-22 一种soc芯片、确定热点函数的方法及终端设备

Country Status (2)

Country Link
CN (1) CN111989655B (zh)
WO (1) WO2020191549A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886250A (zh) * 2021-09-30 2022-01-04 四川大学 函数调用动态热力图的绘制方法
CN114328345A (zh) * 2021-12-10 2022-04-12 北京泽石科技有限公司 控制信息的处理方法、装置以及计算机可读存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356804B (zh) * 2021-12-28 2024-05-31 北京奕斯伟计算技术股份有限公司 通信方法、装置、设备、计算机可读存储介质及程序产品
CN114770514A (zh) * 2022-05-11 2022-07-22 北京睿知文峰教育科技有限公司 基于stm32的人工智能机器人控制方法及装置

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050155020A1 (en) * 2004-01-14 2005-07-14 International Business Machines Corporation Method and apparatus for autonomic detection of cache "chase tail" conditions and storage of instructions/data in "chase tail" data structure
CN101441564A (zh) * 2008-12-04 2009-05-27 浙江大学 为程序定制的可重构加速器实现方法
CN103713933A (zh) * 2013-12-31 2014-04-09 华为技术有限公司 计算机程序中热点函数、变量的汇聚方法、装置及系统
CN105930209A (zh) * 2016-04-11 2016-09-07 天津职业技术师范大学 一种自适应的帮助线程预取质量控制方法
CN106020950A (zh) * 2016-05-12 2016-10-12 中国科学院软件研究所 基于复杂网络分析的函数调用图关键节点识别和标识方法
CN106502876A (zh) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 一种热点函数确定的方法及相关设备
CN107038108A (zh) * 2015-08-20 2017-08-11 腾讯科技(深圳)有限公司 软件的测试方法和装置
US20180136277A1 (en) * 2014-04-18 2018-05-17 Breker Verification Systems Scheduling Of Scenario Models For Execution Within Different Computer Threads And Scheduling Of Memory Regions For Use With The Scenario Models
CN109446740A (zh) * 2018-12-20 2019-03-08 湖南国科微电子股份有限公司 一种片上系统架构性能仿真平台

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050155020A1 (en) * 2004-01-14 2005-07-14 International Business Machines Corporation Method and apparatus for autonomic detection of cache "chase tail" conditions and storage of instructions/data in "chase tail" data structure
CN101441564A (zh) * 2008-12-04 2009-05-27 浙江大学 为程序定制的可重构加速器实现方法
CN103713933A (zh) * 2013-12-31 2014-04-09 华为技术有限公司 计算机程序中热点函数、变量的汇聚方法、装置及系统
US20180136277A1 (en) * 2014-04-18 2018-05-17 Breker Verification Systems Scheduling Of Scenario Models For Execution Within Different Computer Threads And Scheduling Of Memory Regions For Use With The Scenario Models
CN107038108A (zh) * 2015-08-20 2017-08-11 腾讯科技(深圳)有限公司 软件的测试方法和装置
CN105930209A (zh) * 2016-04-11 2016-09-07 天津职业技术师范大学 一种自适应的帮助线程预取质量控制方法
CN106020950A (zh) * 2016-05-12 2016-10-12 中国科学院软件研究所 基于复杂网络分析的函数调用图关键节点识别和标识方法
CN106502876A (zh) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 一种热点函数确定的方法及相关设备
CN109446740A (zh) * 2018-12-20 2019-03-08 湖南国科微电子股份有限公司 一种片上系统架构性能仿真平台

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886250A (zh) * 2021-09-30 2022-01-04 四川大学 函数调用动态热力图的绘制方法
CN114328345A (zh) * 2021-12-10 2022-04-12 北京泽石科技有限公司 控制信息的处理方法、装置以及计算机可读存储介质
CN114328345B (zh) * 2021-12-10 2024-05-03 北京泽石科技有限公司 控制信息的处理方法、装置以及计算机可读存储介质

Also Published As

Publication number Publication date
CN111989655B (zh) 2022-03-29
WO2020191549A1 (zh) 2020-10-01

Similar Documents

Publication Publication Date Title
CN111989655B (zh) 一种soc芯片、确定热点函数的方法及终端设备
US10067813B2 (en) Method of analyzing a fault of an electronic system
US8527812B2 (en) Information processing device
US11694299B2 (en) Methods and apparatus to emulate graphics processing unit instructions
US8769504B2 (en) Method and apparatus for dynamically instrumenting a program
US20110154299A1 (en) Apparatus and method for executing instrumentation code
US20140149078A1 (en) Performance measurement unit, processor core including the same and process profiling method
CN103562870A (zh) 异构核心的自动加载平衡
US9460032B2 (en) Apparatus and method for processing an interrupt
TWI461908B (zh) 於即時指令追蹤紀錄中之除錯動作的選擇性紀錄技術
US20120266029A1 (en) Arrangement for processing trace data information, integrated circuits and a method for processing trace data information
US9552221B1 (en) Monitoring application execution using probe and profiling modules to collect timing and dependency information
CN108664367B (zh) 一种基于处理器的功耗控制方法及装置
US20110016455A1 (en) Power Profiling for Embedded System Design
US20150082284A1 (en) Method and system for generating a memory trace of a program code executable on a programmable target
CN112597064B (zh) 对程序进行仿真的方法、电子设备及存储介质
US20160378636A1 (en) Software-Initiated Trace Integrated with Hardware Trace
US9372773B2 (en) User-level hardware branch records
KR20180096780A (ko) 코어 트레이스로부터 데이터 마이닝을 하기 위한 방법 및 장치
US20140156978A1 (en) Detecting and Filtering Biased Branches in Global Branch History
US9959191B2 (en) Dynamic library profiling method and dynamic library profiling system
CN112445855A (zh) 用于图形处理器芯片的可视化分析方法和可视化分析装置
CN108021478B (zh) 一种图形处理器鲁棒性测试方法
CN113407350B (zh) 指令处理装置、处理器、芯片、计算设备及相应的方法
CN106095631B (zh) 一种基于有限状态机实现的多周期非流水线cpu动态调试方法

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant