CN109923526A - 计算机存储介质、程序运行监测方法及装置 - Google Patents

计算机存储介质、程序运行监测方法及装置 Download PDF

Info

Publication number
CN109923526A
CN109923526A CN201780001861.3A CN201780001861A CN109923526A CN 109923526 A CN109923526 A CN 109923526A CN 201780001861 A CN201780001861 A CN 201780001861A CN 109923526 A CN109923526 A CN 109923526A
Authority
CN
China
Prior art keywords
function
monitored
statistics codes
storage address
statistics
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.)
Pending
Application number
CN201780001861.3A
Other languages
English (en)
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.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology 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 Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Publication of CN109923526A publication Critical patent/CN109923526A/zh
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

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

Abstract

本申请公开了一种计算机存储介质、程序运行监测方法及装置,方法包括:在待监测函数中插入统计代码,其中,所述统计代码用于当其自身被运行时,将其运行数据存储至对应的存储地址;运行插入所述统计代码后的所述待监测函数,其中,所述待监测函数的运行数据为所述统计代码对应的存储地址中存储的运行数据。本发明提供的技术方案,当需要对待监测函数进行程序监测时,只需运行插入有统计代码的待监测函数即可实现,无需提供专门的追踪装置且无需硬件支持,操作简便、结果准确、成本低。

Description

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

Claims (20)

  1. PCT国内申请,权利要求书已公开。
CN201780001861.3A 2017-10-12 2017-10-12 计算机存储介质、程序运行监测方法及装置 Pending CN109923526A (zh)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105899 WO2019071535A1 (zh) 2017-10-12 2017-10-12 计算机存储介质、程序运行监测方法及装置

Publications (1)

Publication Number Publication Date
CN109923526A true CN109923526A (zh) 2019-06-21

Family

ID=66101140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780001861.3A Pending CN109923526A (zh) 2017-10-12 2017-10-12 计算机存储介质、程序运行监测方法及装置

Country Status (2)

Country Link
CN (1) CN109923526A (zh)
WO (1) WO2019071535A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882912A (zh) * 2021-02-01 2021-06-01 华东师范大学 一种应用于并行科学计算程序的函数运行时间测量方法
CN115576586A (zh) * 2022-11-15 2023-01-06 四川蜀天信息技术有限公司 一种智能运营与维护服务器的服务端程序的方法
WO2023036076A1 (zh) * 2021-09-13 2023-03-16 华为技术有限公司 一种软件监测方法以及相关装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477491A (zh) * 2009-01-16 2009-07-08 杭州华三通信技术有限公司 一种统计函数运行状态的方法和装置
CN103473168A (zh) * 2013-09-12 2013-12-25 中国科学院声学研究所 一种热点程序的统计方法
US20160314058A1 (en) * 2015-04-23 2016-10-27 3S-Smart Software Solutions GmbH Method and system for measuring a runtime by means of watchpoints
CN106649063A (zh) * 2016-11-22 2017-05-10 腾讯科技(深圳)有限公司 用于监测程序运行时耗时数据的方法及系统
EP3179371A1 (en) * 2015-12-08 2017-06-14 Gilwa GmbH embedded systems Method and device for non-intrusively collecting function trace data
CN107168857A (zh) * 2017-03-31 2017-09-15 武汉斗鱼网络科技有限公司 一种统计应用程序中的函数调用的方法及组件

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740120B (zh) * 2014-12-11 2018-08-17 中国科学院软件研究所 基于共享内存的软件运行过程实时监测与控制方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477491A (zh) * 2009-01-16 2009-07-08 杭州华三通信技术有限公司 一种统计函数运行状态的方法和装置
CN103473168A (zh) * 2013-09-12 2013-12-25 中国科学院声学研究所 一种热点程序的统计方法
US20160314058A1 (en) * 2015-04-23 2016-10-27 3S-Smart Software Solutions GmbH Method and system for measuring a runtime by means of watchpoints
EP3179371A1 (en) * 2015-12-08 2017-06-14 Gilwa GmbH embedded systems Method and device for non-intrusively collecting function trace data
CN106649063A (zh) * 2016-11-22 2017-05-10 腾讯科技(深圳)有限公司 用于监测程序运行时耗时数据的方法及系统
CN107168857A (zh) * 2017-03-31 2017-09-15 武汉斗鱼网络科技有限公司 一种统计应用程序中的函数调用的方法及组件

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882912A (zh) * 2021-02-01 2021-06-01 华东师范大学 一种应用于并行科学计算程序的函数运行时间测量方法
CN112882912B (zh) * 2021-02-01 2022-10-25 华东师范大学 一种应用于并行科学计算程序的函数运行时间测量方法
WO2023036076A1 (zh) * 2021-09-13 2023-03-16 华为技术有限公司 一种软件监测方法以及相关装置
CN115576586A (zh) * 2022-11-15 2023-01-06 四川蜀天信息技术有限公司 一种智能运营与维护服务器的服务端程序的方法

Also Published As

Publication number Publication date
WO2019071535A1 (zh) 2019-04-18

Similar Documents

Publication Publication Date Title
US20230244458A1 (en) Framework For User-Directed Profile-Driven Optimizations
US10235273B2 (en) Indexing a trace by insertion of key frames for replay responsiveness
US8806463B1 (en) Feedback-directed inter-procedural optimization
US9959194B1 (en) Indexing a trace by insertion of memory snapshots for replay responsiveness
AU2007253862B2 (en) Managing computing resources in graph-based computations
CN109923526A (zh) 计算机存储介质、程序运行监测方法及装置
US8490066B2 (en) Profiler for optimizing processor architecture and application
US9311220B1 (en) System to uncover root cause of non-deterministic (flaky) tests
US20070220360A1 (en) Automated display of trace historical data
US10067813B2 (en) Method of analyzing a fault of an electronic system
US8677322B2 (en) Debugging in a multiple address space environment
US9558096B2 (en) Method and apparatus for supporting performance analysis
JP2014504768A (ja) 領域に基づくガベージ・コレクタを用いてクラスを漸進的にアンロードするための方法、コンピュータ・プログラム製品、および装置
US20110154299A1 (en) Apparatus and method for executing instrumentation code
US9170919B2 (en) Apparatus and method for detecting location of source code error in mixed-mode program
EP3534266B1 (en) Method, apparatus and system for prefetching data
CN111989655A (zh) 一种soc芯片、确定热点函数的方法及终端设备
CN116830080A (zh) 经合并的机器级中间表示优化
KR101991687B1 (ko) 동적 라이브러리 프로파일링 방법, 이를 기록한 컴퓨터로 읽을 수 있는 기록 매체 및 동적 라이브러리 프로파일링 시스템
US9170827B2 (en) Configuration file compatibility
US9940267B2 (en) Compiler global memory access optimization in code regions using most appropriate base pointer registers
US10359971B2 (en) Storing memory profile data of an application in non-volatile memory
US20120096247A1 (en) Reconfigurable processor and method for processing loop having memory dependency
CN109324838A (zh) 单片机程序的执行方法、执行装置及终端
CN104035825A (zh) 跳转源列表处理方法、装置及编译器

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190621