Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MEASURING METHOD OF USE RATE OF PROCESSOR
Document Type and Number:
Japanese Patent JPS6027960
Kind Code:
A
Abstract:

PURPOSE: To measure the use rate of a processor without any hardware timer by executing repeatedly an instruction whose execution time is already known in idling operation, finding the idling time from the frequency of execution within a designated time, and calculating the use rate of the processor from the idling time.

CONSTITUTION: A display for a processor in-use state is set in a process C which is actuated at a clock period, and a process A is started by an initialization routine after the process C is ended. Then, the process A performs execution control processing, and resets the in-use display after the execution to reset an interruption mask. Then, the time up to the setting of the in-use display in the process C is defined as the idling time, and the instruction whose execution time te is already known is executed repeatedly in the idling time while an idle counter 2 counts up by one every time the instruction is executed once. Then, a process B (not shown in figure) which is started at a period T reads the value I of the counter 2 and calculates the use rate d of the processor in the designated time period T by using such an equation that processor use rate D=(T-I×te)/ T, and the idle counter 2 of the process A is cleared.


Inventors:
KAWAGUCHI SUSUMU
Application Number:
JP13584883A
Publication Date:
February 13, 1985
Filing Date:
July 27, 1983
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HITACHI LTD
International Classes:
G06F11/34; (IPC1-7): G06F11/34
Attorney, Agent or Firm:
Akio Takahashi



 
Previous Patent: Collapsible desk

Next Patent: PERFORMANCE EVALUATION MEMORY