CN104685473A - 一种软件测试方法及装置 - Google Patents

一种软件测试方法及装置 Download PDF

Info

Publication number
CN104685473A
CN104685473A CN201380003956.0A CN201380003956A CN104685473A CN 104685473 A CN104685473 A CN 104685473A CN 201380003956 A CN201380003956 A CN 201380003956A CN 104685473 A CN104685473 A CN 104685473A
Authority
CN
China
Prior art keywords
time
measuring
object function
interval
residence time
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
CN201380003956.0A
Other languages
English (en)
Other versions
CN104685473B (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 CN104685473A publication Critical patent/CN104685473A/zh
Application granted granted Critical
Publication of CN104685473B publication Critical patent/CN104685473B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

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

Abstract

本发明实施例提供了一种软件测试方法,包括:获取待测软件中目标函数的代码地址区间;运行所述待测软件,并统计预置的测量时间内PC程序计数器指针在所述代码地址区间内的停留时间,所述测量时间为处理器时钟周期的整数倍;根据所述停留时间计算所述目标函数的负载信息。本发明实施例还提供了一种软件测试装置,采用本发明,可以准确的估计待测软件中目标函数的负载情况。

Description

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

Claims (1)

  1. PCT国内申请,权利要求书已公开。
CN201380003956.0A 2013-09-30 2013-09-30 一种软件测试方法及装置 Active CN104685473B (zh)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/084736 WO2015042964A1 (zh) 2013-09-30 2013-09-30 一种软件测试方法及装置

Publications (2)

Publication Number Publication Date
CN104685473A true CN104685473A (zh) 2015-06-03
CN104685473B CN104685473B (zh) 2018-11-06

Family

ID=52741886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380003956.0A Active CN104685473B (zh) 2013-09-30 2013-09-30 一种软件测试方法及装置

Country Status (2)

Country Link
CN (1) CN104685473B (zh)
WO (1) WO2015042964A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506293B (zh) * 2016-06-14 2022-04-22 中兴通讯股份有限公司 一种软件性能数据采集方法和装置
CN109144877B (zh) * 2018-08-31 2022-05-31 北京奇艺世纪科技有限公司 一种应用检测方法和装置
CN111414295B (zh) * 2020-03-09 2023-06-30 浙江大华技术股份有限公司 一种cpu占用率的统计方法、装置、设备及介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103357A1 (en) * 2002-11-08 2004-05-27 Renesas Technology Corp. Semiconductor testing device
CN101329638A (zh) * 2007-06-18 2008-12-24 国际商业机器公司 程序代码的并行性的分析方法和系统
CN100456248C (zh) * 2005-12-02 2009-01-28 凌阳科技股份有限公司 获得程序代码和函数执行覆盖率及执行效率的装置及方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077080B (zh) * 2013-01-07 2015-08-12 清华大学 基于高性能平台的并行程序性能数据采集方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040103357A1 (en) * 2002-11-08 2004-05-27 Renesas Technology Corp. Semiconductor testing device
CN100456248C (zh) * 2005-12-02 2009-01-28 凌阳科技股份有限公司 获得程序代码和函数执行覆盖率及执行效率的装置及方法
CN101329638A (zh) * 2007-06-18 2008-12-24 国际商业机器公司 程序代码的并行性的分析方法和系统

Also Published As

Publication number Publication date
CN104685473B (zh) 2018-11-06
WO2015042964A1 (zh) 2015-04-02

Similar Documents

Publication Publication Date Title
JP3618442B2 (ja) マイクロプロセッサのパワーエスティメータ装置
US7930574B2 (en) Thread migration to improve power efficiency in a parallel processing environment
KR101497214B1 (ko) 루프 버퍼 학습
US7433803B2 (en) Performance monitor with precise start-stop control
CN104597393A (zh) 一种芯片最高工作频率的确定方法及装置
US8806491B2 (en) Thread migration to improve power efficiency in a parallel processing environment
CN100338581C (zh) 用于确定cpu利用率的独立于操作系统的方法和系统
CN105183592B (zh) 用于支持性能分析的方法和装置
US9460032B2 (en) Apparatus and method for processing an interrupt
US20110072420A1 (en) Apparatus and method for controlling parallel programming
US7665000B2 (en) Meeting point thread characterization
Mukhanov et al. ALEA: Fine-grain energy profiling with basic block sampling
US11687242B1 (en) FPGA board memory data reading method and apparatus, and medium
US20160062331A1 (en) Apparatus and method for validating the integrity of control signals in timing domain
CN103995766A (zh) 一种检测控制处理器温度的方法
CN104685473A (zh) 一种软件测试方法及装置
US20140156978A1 (en) Detecting and Filtering Biased Branches in Global Branch History
US11210103B2 (en) Execution of additional instructions prior to a first instruction in an interruptible or non-interruptible manner as specified in an instruction field
US11520580B2 (en) Processor with instruction iteration
US20140089646A1 (en) Processor with interruptable instruction execution
KR101862981B1 (ko) 명령어 기반 카운터를 통한 성능 및 전력량 예측 시스템 및 방법
US10120602B2 (en) Device and method for determining data placement destination, and program recording medium
KR102625723B1 (ko) 전자 장치 및 전자 장치의 제어 방법
CN107769987B (zh) 一种报文转发性能评估方法和装置
CN113835756A (zh) 主机命令解析方法和装置、固态硬盘控制器、固态硬盘

Legal Events

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