Managing visual updates
AssigneeThe MathWorks, Inc.
InventorsJason J. Schickler, Donald P. Orofino
Life of this patent
Estimating the term…
Abstract
A system is configured to: conduct asynchronous updates, of a display, based on a fixed rate when operating in an asynchronous state; determine whether to switch to a synchronous state from the asynchronous state based on the asynchronous updates; conduct synchronous updates, of the display, after switching to the synchronous state; receive a lock request, and conduct updating of the display based on the lock request. The synchronous updates may be performed independent of the fixed rate.
Claims20
One or more non-transitory computer-readable media storing instructions, the instructions comprising:
- one or more instructions that, when executed by one or more processors, cause the one or more processors to:
- receive, during a first period of time and at a first frequency, a first set of data generated during an execution of a model;
- determine that the first frequency is less than a threshold frequency for receiving data generated during the execution of the model,
- the threshold frequency being based on an ability to perceive changes to a visual representation;
- perform, during the first period of time and based on the first frequency being less than the threshold frequency, a synchronous update of a display of the visual representation of the execution of the model using the first set of data;
- receive, during a second period of time and at a second frequency, a second set of data generated during the execution of the model;
- determine that the second frequency is not less than the threshold frequency;
- and
- perform, during the second period of time and based on the second frequency not being less than the threshold frequency, an asynchronous update of the visual representation,
- the one or more instructions to perform the asynchronous update of the visual representation including:
- one or more instructions that, when executed by the one or more processors, cause the one or more processors to:
- buffer the second set of data in a memory, and
- update the display of the visual representation at a third frequency, that is less than the threshold frequency, using the buffered second set of data.
A device comprising:
- one or more processors to:
- obtain, during a first period of time and at a first frequency, a first set of data generated during an execution of a model;
- determine that the first frequency is less than or equal to a threshold frequency associated with updating a display of a visual representation of the execution of the model,
- the threshold frequency being based on an ability to perceive changes to a visual representation;
- perform, during the first period of time and based on the first frequency being less than or equal to the threshold frequency, a synchronous update of the display of the visual representation using the first set of data;
- obtain, during a second period of time and at a second frequency, a second set of data generated during the execution of the model;
- determine that the second frequency is greater than the threshold frequency;
- and
- perform, during the second period of time and based on the second frequency being greater than the threshold frequency, an asynchronous update of the visual representation,
- when performing the asynchronous update of the visual representation, the one or more processors being to:
- buffer the second set of data in a memory, and
- update the display of the visual representation at a third frequency using the buffered second set of data.
A method comprising:
- obtaining, at a first time, first data generated during an execution of a model,
- the obtaining the first data being performed by a computing device;
- generating a visual representation of the execution of the model based on the first data,
- the generating the visual representation being performed by the computing device;
- providing the visual representation for display,
- the providing being performed by the computing device;
- obtaining, at a second time, second data generated during the execution of the model,
- the obtaining the second data being performed by the computing device;
- determining that an amount of time between first time and the second time is less than a threshold amount of time associated with updating a display of the visual representation,
- the threshold amount of time being based on an ability to perceive changes to the visual representation, and
- the determining that the amount of time between the first time and the second time being less than the threshold amount of time being performed by the computing device;
- storing the second data in a memory based on the amount of time between first time and the second time is less than the threshold amount of time,
- the storing the second data being performed by the computing device;
- obtaining, at a third time, third data generated during the execution of the model,
- the obtaining the third data being performed by the computing device;
- determining that the second data is stored in the memory,
- the determining that the second data is stored in the memory being performed by the computing device;
- storing the third data in the memory based on the second data being stored in the memory,
- the storing the third data in the memory being performed by the computing device;
- determining, based on the first time, whether a fixed amount of time has elapsed,
- the determining that the fixed amount of time has elapsed being performed by the computing device;
- and
- causing the display of the visual representation to be updated based on the second data when the fixed amount of time has elapsed since obtaining the first data,
- causing the display of the visual representation to be updated being performed by the computing device.
Dependencies are inferred from the claim text.