Sampling Timing Correction Using Lookup Tables
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Counters without hardware interruption functions face challenges in accurately determining sampling timing for operation information, leading to low accuracy and inappropriate data collection due to delayed timing and potential changes in operation information over time.
Innovation Solution
An information processing apparatus that acquires integrated count values and operation information at fixed intervals, selects appropriate operation information based on differences between consecutive integrated values and a threshold, and stores this information to improve sampling accuracy and reliability.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If counters without hardware interruption functions are used for sampling, then device complexity is reduced, but measurement precision deteriorates due to delayed sampling timing
Solution Approach 1:
The patent applies preliminary action by pre-calculating and storing the relationship between integrated count values and sampling timing in a lookup table. When sampling is needed, the system simply queries the pre-computed table rather than performing complex real-time calculations, thus achieving accurate sampling timing without requiring complex hardware interruption functions.
Solution Approach 2:
The patent introduces an intermediary mechanism - a lookup table that stores the mapping between integrated count values and corresponding sampling timings. This intermediary allows the system to translate simple counter values into accurate timing information without requiring complex hardware support, effectively mediating between the simple counter and the precision timing requirement.
2Ease of operation
If sampling is performed at delayed timing without hardware interruption, then ease of operation is improved, but reliability deteriorates due to changes in operation information over time
Solution Approach 1:
The system pre-calculates and stores correction information in the lookup table that compensates for timing delays. By preparing this correction data in advance, the system can easily apply it during sampling operations without complex real-time adjustments, maintaining both operational simplicity and information accuracy.
Solution Approach 2:
The patent implements feedback by using the lookup table to provide correction information based on the integrated count value. The system continuously monitors the counter value, queries the lookup table for the appropriate correction, and applies it to maintain accurate operation information despite timing delays, creating a closed-loop feedback mechanism.
Data Source
AI summary
An acquire an integrated value of count values and first information at every specific timing, the integrated value of count values being acquired by counting a number of events generated when a program is executed, and the first information being operation information that includes identification information of the program or information of hardware that is used to execute the program, temporarily store the integrated value and the first information in a first area of a memory, select, when a newly acquired integrated value exceeds a threshold, one of the first information stored in the first area and second information which is operation information corresponding to the newly acquired integrated value, based on the newly acquired integrated value, the integrated value which is stored in the first area, and the threshold, and store the selected information in a second area of the memory.


