Generation of a progress notification in a software loop
AssigneeRed Hat, Inc.
InventorDavid H. Malcolm
Life of this patent
Estimating the term…
Abstract
Embodiments relate to systems and methods for generating a progress indicator in a programming loop. In embodiments, a programming language or application programming interface (API) can contain a loop operator that registers the occurrence of each iteration in a loop, and passes that information to a user interface to display an indicator of loop progress to a programmer or user. The progress notification can be a thermometer-style graph, a progress bar, or other graphical or other display representing the progress of the programming or process loop. In embodiments, the progress indicator and related information can be dumped to a log file, to create a record of loop progress to review and perform debugging operations, in the event of a crash during execution of the loop.
Claims23
A method, comprising:
- executing a repetitive software process by a processing device, wherein an encoded progress operator is configured in an execution path of the repetitive software process, the repetitive software process comprising a set of loop code that repeats at least one of a computation or a logical operation until a criterion is fully satisfied;
- capturing progress information from the repetitive software process by the processing device using the encoded progress operator during execution of the repetitive software process, the progress information indicating a number of repetitions of at least one of the computation or the logical operation that have been completed;
- communicating the progress information to a notification manager;
- and
- generating a progress notification representing a state of progress of the repetitive software process.
A system for generating a progress notification for a repetitive software process, comprising:
- a memory to store instructions for the repetitive software process;
- and
- a processing device, coupled to the memory, wherein the processing device is configured to:
- execute the repetitive software process, wherein an encoded progress operator is configured in an execution path of the repetitive software process, the repetitive software process comprising a set of loop code that repeats at least one of a computation or a logical operation until a criterion is fully satisfied;
- capture progress information from the repetitive software process using the encoded progress operator during execution of the repetitive software process, the progress information indicating a number of repetitions of at least one of the computation or the logical operation that have been completed;
- and
- generate a progress notification representing a state of progress of the repetitive software process.
A non-transitory computer-readable medium, the computer-readable medium being readable to execute operations comprising:
- executing a repetitive software process by a processing device, wherein an encoded progress operator is configured in an execution path of the repetitive software process, the repetitive software process comprising a set of loop code that repeats at least one of a computation or a logical operation until a criterion is fully satisfied;
- capturing progress information from the repetitive software process by the processing device using the encoded progress operator during execution of the repetitive software process, the progress information indicating a number of repetitions of at least one of the computation or the logical operation that have been completed;
- communicating the progress information to a notification manager;
- and
- generating a progress notification representing a state of progress of the repetitive software process.
A progress notification, the progress notification being generated by a method comprising:
- executing a repetitive software process by a processing device, wherein an encoded progress operator is configured in an execution path of the repetitive software process, the repetitive software process comprising a set of loop code that repeats at least one of a computation or a logical operation until a criterion is fully satisfied;
- capturing progress information from the repetitive software process by the processing device using the encoded progress operator during execution of the repetitive software process, the progress information indicating a number of repetitions of at least one of the computation or the logical operation that have been completed;
- communicating the progress information to a notification manager;
- and
- generating the progress notification representing a state of progress of the repetitive software process.
Dependencies are inferred from the claim text.