Patent ID: 9690626
Date: 2017-06-27
CPC Classifications: G06F,G06T,H04N

Claim:
1. A computer-implemented method for processing a workload in a single-threaded environment, comprising: detecting an input that initiates the workload to be processed in the single-threaded environment: determining, by a computing device, an effective frame rate based on at least one rendered frame in the single-threaded environment, the effective frame rate being used to estimate a duration of an upcoming frame; determining, by the computing device, an effective slice rate based on at least one completed workload slice, wherein each workload slice represents a portion of the workload to be processed in the single-threaded environment, the effective slice rate being used to estimate a time to complete an upcoming workload slice of the workload; calculating, by the computing device, a slice-to-frame ratio according to the effective frame rate and the effective slice rate during runtime of the single-threaded environment, wherein the slice-to-frame ratio defines a rate at which workload slices are assigned to one or more upcoming frames; dynamically assigning, by the computing device, one or more upcoming workload slices to be processed during the rendering of the one or more upcoming frames according to the calculated slice-to-frame ratio; and rendering, by the computing device, the one or more upcoming frames while processing the one or more upcoming workload slices at the rate defined by the calculated slice-to-frame ratio concurrently with the rendering of the one or more upcoming frames.