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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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;
...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com