Supercharge Your Innovation With Domain-Expert AI Agents!

Method for enhancing computer inner core timer control precision

A technology of control accuracy and timer, which is applied in the field of improving the control accuracy of computer kernel timers, and can solve the problems of not improving timer accuracy and reducing periodic timing.

Inactive Publication Date: 2010-02-24
谢维信
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main purpose of this scheme is to reduce the overhead of periodic timing by counting instead of timing, and does not improve the accuracy of the timer

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
  • Method for enhancing computer inner core timer control precision

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Refer to attached figure 1 It can be clearly seen that in the concrete steps for realizing the object of the present invention described above in the content of the invention section ④, the execution steps determined by inserting new codes at the timing hardware clock interrupt entry are:

[0020] (1) Enter the system hardware timing interrupt program and continue timer timing according to the increased hardware timing frequency,

[0021] (2) Compare whether there is a scheduled task due in the maintained timing information,

[0022] (3) Check directly if there is no scheduled task due, or if a scheduled task expires and send out the corresponding "a certain task is scheduled to arrive" information code, check whether the original system interrupt beat is due,

[0023] (4) when the original system interrupt beat does not arrive, directly go to step (1), the hardware timing interrupt returns quickly, and when the original system interrupt beat arrives, go to the next op...

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 present invention provides a method for improving control precision of a computer inner core timer. The method is realized under the support of the set inner core timer executive program, based onthe preset system timing hardware clock and timing granularity, which including the following steps: 1. determining the timing granularity according to the specific objective platform and applicationenvironment; 2. relieving the binding relationship between the system timing hardware clock interrupt and the operating system time interrupt service program; 3. setting the timing hardware at eh system initialize time according to the timing precision value determined by the step 1; 4. inserting novel codes (including codes maintaining the self timing information, codes judging whether the timeris overtime and executing the overtime function and codes holding the operating system time according to the original system time rate) at the timing hardware clock interrupt entrance; 5 recompilingand loading the inner core, making the modification of the steps 2, 3, 4 to become effective, and repeating the step 4 and 5.

Description

technical field [0001] The invention relates to a method for improving the control precision of a computer core timer, in particular to a method for processing high-precision timing events based on an original computer system. Background technique [0002] An operating system is a program that manages the hardware and software resources of a computer or embedded platform, and is also the basis for applications to run. The operating system is a large-scale management and control program. Its function is to make all resources in the system play their roles to the maximum according to the established time sequence, and provide users with a convenient and effective service interface. Among them, the kernel timer is the basis of general operating system kernel management time, and its function is to make the kernel task execute at the specified time point. To use a timer, you need to set a timing processing function and pre-set a timeout period. After the timer is activated, the...

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 Patents(China)
IPC IPC(8): G06F9/46
Inventor 谢维信黄敬雄赵汝聪黄建军
Owner 谢维信
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More