Timestamp based method for measuring million instructions per second (MIPS) required by embedded software module

A technology of embedded software and software modules, applied in the field of law, can solve problems such as the inability to calculate the specific time consumed by algorithms or programs

Inactive Publication Date: 2015-08-19
瞿浩正
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Generally, time complexity is used to evaluate the computational workload required for the execution of an algorithm or a program. Time complexity can quantitatively measure the time spent by different algorithms, thereby providing a basis for system designers to judge the pros and cons of algorithms or programs. It is impossible to calculate the specific time taken by an algorithm or program to execute

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Timestamp based method for measuring million instructions per second (MIPS) required by embedded software module
  • Timestamp based method for measuring million instructions per second (MIPS) required by embedded software module
  • Timestamp based method for measuring million instructions per second (MIPS) required by embedded software module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Implemented in C language, through the IAR 5.1 for MSP430 integrated development environment, compile and connect to generate the target code, and download it to the MCU through the jtag interface. For an IIR low-pass digital filter of order N=4, the input sequence is x(n), and the output sequence is y(n).

[0039] / / Define the data buffer data length

[0040] #define DATA_LENGTH 100 / / Sampling data corresponding to 1s

[0041] / / Define the IIR low-pass filter coefficients

[0042] float a[2][3]={1,2,1,1,2,1};

[0043] float b[2][3]=

[0044] {1,-1.320913430819426,0.632738792885277,

[0045] 1,-1.048599576362612,0.296140357561670};

[0046] / / Define the data buffer

[0047] float buffer1[DATA_LENGTH];

[0048] float buffer2[DATA_LENGTH];

[0049] float tmp_buff[DATA_LENGTH];

[0050] / / 4-order IIR low-pass filter, calling form: IIR_Low_Pass_Filter(buffer1,buffer2)

[0051] void IIR4_Low_Pass_Filter(float *x,float *y)

[0052] {

[0053] unsigned int n=0;

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a timestamp based method for measuring million instructions per second (MIPS) required by an embedded software module. The invention relates to a method for measuring MCU time taken or consumed by execution of an embedded software functional module in medical electronic equipment, and particularly relates to observation of MIPS of the MCU required by execution of a digital filter module in medical electronic products. The method is implemented as firmware in an embedded real-time operation system. The measurement method can be repeatedly used in advanced research and development activities of other medical electronic products carried out by use of the real-time operation system.

Description

technical field [0001] The present invention relates to a method for measuring the MCU time occupied or spent when an embedded software function module is executed in a medical electronic device, in particular to a method for observing the MIPS number of an MCU required for the execution of a digital filter module in a medical electronic product, and The method is solidified in the embedded real-time operating system, so that this measurement method can be used repeatedly in the development of different medical electronic products. Background technique [0002] The medical electronic equipment industry is in the ascendant, and the vast majority of medical electronic equipment is an embedded system, the core of which is one or more MCUs, and the MCU stores program codes pre-programmed according to specific purposes. Many resources such as / D, timer, DMA, UART, and external circuits connected through the I / O interface have a computer system that can complete specific functions...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
Inventor 瞿浩正
Owner 瞿浩正
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products