CN103853648A - Embedded software performance evaluating hardware auxiliary test device and method - Google Patents

Embedded software performance evaluating hardware auxiliary test device and method Download PDF

Info

Publication number
CN103853648A
CN103853648A CN201410060129.1A CN201410060129A CN103853648A CN 103853648 A CN103853648 A CN 103853648A CN 201410060129 A CN201410060129 A CN 201410060129A CN 103853648 A CN103853648 A CN 103853648A
Authority
CN
China
Prior art keywords
timing
test
module
hardware platform
performance evaluating
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
CN201410060129.1A
Other languages
Chinese (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.)
BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
BEIJING SHENZHOU AEROSPACE SOFTWARE 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 BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd filed Critical BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201410060129.1A priority Critical patent/CN103853648A/en
Publication of CN103853648A publication Critical patent/CN103853648A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an embedded software performance evaluating hardware auxiliary test device, which is characterized by comprising a circuit board, wherein a control device and a plurality of communication ports are arranged on the circuit board, the communication ports are connected with a tested software operation hardware platform and a test system, and the test system is arranged on a PC (personnel computer). The invention also provides an embedded software performance evaluating hardware auxiliary test method, which comprises the following steps including 1, time measurement; 2, interrupt response measurement. The test device and the test method have the advantages that the burden of a tested system cannot be increased, the timing work can be also completed at high precision, and the external interrupt triggering can be simulated for data storage, processing and transmission.

Description

Embedded software performance evaluating hardware auxiliary test unit and method
Technical field
The invention belongs to software transmission area of agreement, specifically, relate to a kind of embedded software performance evaluating hardware auxiliary test unit and method.
Background technology
Software performance test normal service time of index, with absolute time interval---initial time and the mistiming in termination moment represent.Common measuring method is: before the first statement of tested code, insert timing beginning flag, after tested code the last item statement, insert timing termination flag, timing is got the time interval after stopping.Another kind of method of testing is the actual figure in the unit interval, tested code is placed in a loop body, by the relatively performance of timing that repeatedly circulates.Second method has improved measuring accuracy by long-time execution.But no matter use that method, time measurement means are extremely important.
Existing time measurement mainly relies on the time mechanism of operating system self, as the Microsecond grade gettimeofday () of Linux; Level time (), the Millisecond GetLocalTime () second of Windows.Embedded real-time operating system also provides clock interface, as clock_gettime () of the OSTimeGet () of uCOS, VxWorks etc., but limited by the inner realization mechanism of embedded platform and operating system, time precision is generally 10 Milliseconds, and measuring accuracy and accuracy have certain limitation.
In addition, the evaluation and test of embedded software interruption performance is also a large difficult point.The conventional method of interruption performance index measurement is to use soft break simulation, but the correct process that this method can not expressed intact be interrupted needs external analog to interrupt supporting.
Summary of the invention
The technical problem to be solved in the present invention is to overcome above-mentioned defect, an embedded software performance evaluating hardware auxiliary test unit and method are provided, can either not increase system under test (SUT) burden, can high-precisionly complete again timework, can also simulate external interrupt and trigger, carry out storage, processing and the transmission of data.
For addressing the above problem, the technical solution adopted in the present invention is:
A kind of embedded software performance evaluating hardware auxiliary test unit, it is characterized in that: comprise circuit board, on circuit board, be provided with control device and some communication port, communication port is connected with tested software operation hardware platform and test macro, and test macro is arranged on PC.
Improve as one, described control device comprises ARM single-chip microcomputer, data processing module, accurate timing module and Event triggered module; In communication port, be provided with GPIO module, tested software operation hardware platform connects ARM single-chip microcomputer by GPIO module, and another PORT COM is connected and installed with the PC of test macro by serial ports simultaneously; Described Event triggered module is connected tested software operation hardware platform with accurate timing module.
The present invention also provides a kind of embedded software performance evaluating hardware auxiliary test methods, and step is as follows:
1), time measurement: tested software operation hardware platform has added the software code of timing pitching pile, and first the test macro of PC notifies the proving installation start time to measure, and then starts the software test case of system under test (SUT); When system under test (SUT) moves to " beginning timing " statement, first to specific GPIO output high level, obtain a rising edge triggering assisted tester and start timing; When timing finishes, to GPIO output low level, obtain a negative edge triggering tester and finish timing;
2), interrupt response is measured: proving installation simulation external interrupt is also carried out timing to it under this scene, in break simulation, the measurement of initial time is from tester sends pumping signal, need to not move pitching pile in hardware platform in tested software, the termination time is determined by the pitching pile function in tested software operation hardware platform.
Owing to having adopted technique scheme, compared with prior art, the present invention proposes general auxiliary test methods and a device of supporting embedded software evaluation and test, can either not increase system under test (SUT) burden, can high-precisionly complete again timework, can also simulate external interrupt and trigger, carry out storage, processing and the transmission of data.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of an embodiment of the present invention;
Fig. 2 is the workflow diagram of time measurement in an embodiment of the present invention;
Fig. 3 is the workflow diagram that in an embodiment of the present invention, interrupt response is measured.
Embodiment
Embodiment:
As shown in Figure 1, a kind of embedded software performance evaluating hardware auxiliary test unit, comprises circuit board, is provided with control device and some communication port on circuit board, communication port is connected with tested software operation hardware platform and test macro, and test macro is arranged on PC.
In the present embodiment, described control device comprises ARM single-chip microcomputer, data processing module, accurate timing module and Event triggered module; In communication port, be provided with GPIO module, tested software operation hardware platform connects ARM single-chip microcomputer by GPIO module, and another PORT COM is connected and installed with the PC of test macro by serial ports simultaneously; Described Event triggered module is connected tested software operation hardware platform with accurate timing module.
The present invention also provides a kind of embedded software performance evaluating hardware auxiliary test methods, and step is as follows:
1), time measurement: as shown in Figure 2, tested software operation hardware platform has added the software code of timing pitching pile, and first the test macro of PC notifies the proving installation start time to measure, and then starts the software test case of system under test (SUT); When system under test (SUT) moves to " beginning timing " statement, first to specific GPIO output high level, obtain a rising edge triggering assisted tester and start timing; When timing finishes, to GPIO output low level, obtain a negative edge triggering tester and finish timing.
2), interrupt response is measured: as shown in Figure 3, proving installation simulation external interrupt is also carried out timing to it under this scene, in break simulation, the measurement of initial time is from tester sends pumping signal, need to not move pitching pile in hardware platform in tested software, the termination time is determined by the pitching pile function in tested software operation hardware platform.
Owing to having adopted technique scheme, compared with prior art, the present invention proposes general auxiliary test methods and a device of supporting embedded software evaluation and test, can either not increase system under test (SUT) burden, can high-precisionly complete again timework, can also simulate external interrupt and trigger, carry out storage, processing and the transmission of data.

Claims (3)

1. an embedded software performance evaluating hardware auxiliary test unit, it is characterized in that: comprise circuit board, on circuit board, be provided with control device and some communication port, communication port is connected with tested software operation hardware platform and test macro, and test macro is arranged on PC.
2. according to the embedded software performance evaluating hardware auxiliary test unit described in claim 1, it is characterized in that: described control device comprises ARM single-chip microcomputer, data processing module, accurate timing module and Event triggered module; In communication port, be provided with GPIO module, tested software operation hardware platform connects ARM single-chip microcomputer by GPIO module, and another PORT COM is connected and installed with the PC of test macro by serial ports simultaneously; Described Event triggered module is connected tested software operation hardware platform with accurate timing module.
3. according to the embedded software performance evaluating hardware auxiliary test methods described in claim 2, it is characterized in that: step is as follows:
1), time measurement: tested software operation hardware platform has added the software code of timing pitching pile, and first the test macro of PC notifies the proving installation start time to measure, and then starts the software test case of system under test (SUT); When system under test (SUT) moves to " beginning timing " statement, first to specific GPIO output high level, obtain a rising edge triggering assisted tester and start timing; When timing finishes, to GPIO output low level, obtain a negative edge triggering tester and finish timing;
2), interrupt response is measured: proving installation simulation external interrupt is also carried out timing to it under this scene, in break simulation, the measurement of initial time is from tester sends pumping signal, need to not move pitching pile in hardware platform in tested software, the termination time is determined by the pitching pile function in tested software operation hardware platform.
CN201410060129.1A 2014-02-21 2014-02-21 Embedded software performance evaluating hardware auxiliary test device and method Pending CN103853648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410060129.1A CN103853648A (en) 2014-02-21 2014-02-21 Embedded software performance evaluating hardware auxiliary test device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410060129.1A CN103853648A (en) 2014-02-21 2014-02-21 Embedded software performance evaluating hardware auxiliary test device and method

Publications (1)

Publication Number Publication Date
CN103853648A true CN103853648A (en) 2014-06-11

Family

ID=50861327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410060129.1A Pending CN103853648A (en) 2014-02-21 2014-02-21 Embedded software performance evaluating hardware auxiliary test device and method

Country Status (1)

Country Link
CN (1) CN103853648A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598855A (en) * 2016-12-09 2017-04-26 南京晨光集团有限责任公司 Method for testing running time of embedded software
CN109344078A (en) * 2018-10-29 2019-02-15 北京京航计算通讯研究所 Using the embedded real-time operating system time performance test method of FPGA
CN109471761A (en) * 2018-10-29 2019-03-15 北京京航计算通讯研究所 Using the embedded real-time operating system time performance test macro of FPGA
CN110147324A (en) * 2019-04-28 2019-08-20 北京航空航天大学 A kind of the on-line testing equipment and on-line testing method of embedded software time response
CN110162469A (en) * 2019-04-26 2019-08-23 中国人民解放军战略支援部队信息工程大学 A kind of FFT software library performance test methods and device based on CUDA
CN110837466A (en) * 2019-10-15 2020-02-25 中国电子科技集团公司第三十研究所 Embedded software dynamic test method based on source code piling
CN113220532A (en) * 2021-05-20 2021-08-06 复旦大学 Method and device for testing feedback time of interrupt event of embedded operating system
WO2022111703A1 (en) * 2020-11-30 2022-06-02 中科寒武纪科技股份有限公司 Method, device and system for acquiring hardware performance data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295162A (en) * 2003-02-04 2004-10-21 I-Net Device Co Ltd Remote monitoring system
CN101465863A (en) * 2009-01-14 2009-06-24 北京航空航天大学 Method for implementing high-efficiency network I/O in kernel virtual machine circumstance

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004295162A (en) * 2003-02-04 2004-10-21 I-Net Device Co Ltd Remote monitoring system
CN101465863A (en) * 2009-01-14 2009-06-24 北京航空航天大学 Method for implementing high-efficiency network I/O in kernel virtual machine circumstance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨雅雯: "高可靠性嵌入式仿真测试平台的硬件逻辑设计", 《中国优秀硕士学位论文全文数据库》, 15 July 2011 (2011-07-15) *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598855A (en) * 2016-12-09 2017-04-26 南京晨光集团有限责任公司 Method for testing running time of embedded software
CN109344078A (en) * 2018-10-29 2019-02-15 北京京航计算通讯研究所 Using the embedded real-time operating system time performance test method of FPGA
CN109471761A (en) * 2018-10-29 2019-03-15 北京京航计算通讯研究所 Using the embedded real-time operating system time performance test macro of FPGA
CN109344078B (en) * 2018-10-29 2022-05-17 北京京航计算通讯研究所 Time performance test method for embedded real-time operating system applying FPGA
CN109471761B (en) * 2018-10-29 2022-05-17 北京京航计算通讯研究所 Embedded real-time operating system time performance test system applying FPGA
CN110162469A (en) * 2019-04-26 2019-08-23 中国人民解放军战略支援部队信息工程大学 A kind of FFT software library performance test methods and device based on CUDA
CN110162469B (en) * 2019-04-26 2023-01-24 中国人民解放军战略支援部队信息工程大学 Method and device for testing performance of FFT software library based on CUDA
CN110147324A (en) * 2019-04-28 2019-08-20 北京航空航天大学 A kind of the on-line testing equipment and on-line testing method of embedded software time response
CN110837466A (en) * 2019-10-15 2020-02-25 中国电子科技集团公司第三十研究所 Embedded software dynamic test method based on source code piling
WO2022111703A1 (en) * 2020-11-30 2022-06-02 中科寒武纪科技股份有限公司 Method, device and system for acquiring hardware performance data
CN113220532A (en) * 2021-05-20 2021-08-06 复旦大学 Method and device for testing feedback time of interrupt event of embedded operating system

Similar Documents

Publication Publication Date Title
CN103853648A (en) Embedded software performance evaluating hardware auxiliary test device and method
CN105425201B (en) metering chip simulation test method for software reliability detection of intelligent electric energy meter
CN103338290B (en) A kind of method of automatic test Android phone touch screen performance
CN106201892B (en) Abnormal interrupt source position finding and detection method for embedded software
CN102736967A (en) Test system and method of watchdog timer
CN109344078A (en) Using the embedded real-time operating system time performance test method of FPGA
CN114912413A (en) Chip verification method and platform
CN107766209A (en) Central control automation test method, device, equipment and computer readable storage medium
CN103713977B (en) Microprocessor IP (internet protocol) kernel comparison and verification implementation method
CN109557515B (en) Detection method and detection device of range finder, terminal equipment and storage medium
CN204575815U (en) Time relay time parameter proving installation
CN100440158C (en) A testing method and system for timer in embedded system
CN103308928A (en) Pseudo-range precision measurement system of satellite navigation signal simulator
CN109901962B (en) Method and system for testing synchronous mixed pressure of AEP memory under Linux
WO2011080667A1 (en) Method for providing a real time to an application running on a virtual platform
CN116388896A (en) Device, system and method for testing BTM of transponder information receiving unit
CN208459563U (en) Hydro turbine governor static properties test macro
CN204406390U (en) A kind of Monkey test macro
CN102637034A (en) Composite signal detecting system and detecting method based on CAN (Controller Area Network) configuration
CN208721734U (en) A kind of knockdown misfire detection systems
CN106685606B (en) Device and method for testing remote signaling anti-shake time and remote control output holding time
CN114089258B (en) Clock acceleration simulation operation method and system for intelligent electric energy meter
CN202256391U (en) Electrical property comprehensive test desk provided with standard sample detection device
CN106896309A (en) Signal processing apparatus and method, signal offset detection system and method
CN107872358B (en) Automatic simulation test method for HDLC protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140611

RJ01 Rejection of invention patent application after publication