Patent ID: 7814358

Claim:
An electronic apparatus comprising: means for periodically acquiring input data at first intervals; first processing means including means for performing first data processing with the acquired input data during a variable execution time such that the input data is produced as a constant amount of intermediate data, the variable execution time having a time length that varies with contents of the input data; second processing means for receiving the intermediate data and performing second data processing with the received intermediate data during a processing time such that the intermediate data is produced as output data, the processing time having a time length that varies depending on the constant amount of the intermediate data; means for periodically, at second intervals longer than the first intervals, outputting the output data obtained by the second processing means; and means for controlling i) timing at which the second processing means receives the intermediate data from the first processing means and ii) timing at which the variable execution time ends by using a flag, wherein the controlling means is configured to control the flag such that i) the flag is set at a time when the first processing means starts the first data processing and ii) the flag is reset at a time when a predetermined period lapses from the time when the flag is set, wherein the first processing means includes means for suspending providing of the intermediate data to the second processing means when the flag is set and the first processing means includes means for providing the intermediate data to the second processing means when the flag is reset.