-
公开(公告)号:US09619012B2
公开(公告)日:2017-04-11
申请号:US14577027
申请日:2014-12-19
Applicant: Apple Inc.
Inventor: James Michael Magee , Ethan Bold , Goutham Mani , Abhinav Pathak , Daniel Andreas Steffen
CPC classification number: G06F9/4881 , G06F1/3206 , G06F1/3287 , G06F9/461 , G06F9/468 , G06F9/4818 , G06F9/50 , G06F9/52 , G06F9/545 , G06F2209/484 , G06F2209/485 , Y02D10/171 , Y02D10/24
Abstract: A method and an apparatus for a power assertion management are described. A power assertion indicator may be maintained for a device component having a power level. The power assertion indicator can indicate whether the power level of the device component is allowed to be lowered. A power assertion request may be sent from a first process to prevent lowering the power level of the device component before a data processing task is completed. A second process can receive a request from the first process to perform operations for the data processing task. The power level of the device component may not be allowed to be lowered before the second process completes the operations for the data processing task. The power level of the device component may be lowered after the data processing task is completed.
-
公开(公告)号:US20140237476A1
公开(公告)日:2014-08-21
申请号:US14174658
申请日:2014-02-06
Applicant: Apple Inc.
Inventor: Daniel Andreas Steffen , Kevin James Van Vechten
IPC: G06F9/46
CPC classification number: G06F9/46 , G06F9/4843 , G06F9/505
Abstract: A method and apparatus that schedules and manages a background task for device is described. In an exemplary embodiment, the device registers the background task, where the registering includes storing execution criteria for the background task. The execution criteria indicates a criterion for launching the background task and the execution criteria based on a component status of the device. The device further monitors the running state of the device for an occurrence of the execution criteria. If the execution criteria occurs, the device determines an available headroom with the device in order to perform the background task and launches the background task if the background task importance is greater than the available device headroom, where the background task importance is a measure of how important it is for the device to run the background task.
Abstract translation: 描述了对设备的后台任务进行调度和管理的方法和装置。 在示例性实施例中,设备注册后台任务,其中注册包括存储用于后台任务的执行标准。 执行标准表示基于设备的组件状态启动后台任务和执行标准的标准。 设备进一步监视设备的运行状态以发生执行标准。 如果执行标准发生,设备将确定与设备的可用余量以便执行后台任务,并且如果后台任务重要性大于可用的设备余量,则启动后台任务,其中后台任务重要性是如何衡量的 重要的是设备运行后台任务。
-
3.
公开(公告)号:US09348645B2
公开(公告)日:2016-05-24
申请号:US14576917
申请日:2014-12-19
Applicant: Apple Inc.
Inventor: James Michael Magee , Russell A. Blaine , Daniel A. Chimene , James McIlree , Vishal Patel , Daniel Andreas Steffen , Kevin James Van Vechten
CPC classification number: G06F9/4881 , G06F1/3206 , G06F1/3287 , G06F9/461 , G06F9/468 , G06F9/4818 , G06F9/50 , G06F9/52 , G06F9/545 , G06F2209/484 , G06F2209/485 , Y02D10/171 , Y02D10/24
Abstract: A method and an apparatus for priority donations among different processes are described. A first process running with a first priority may receive a request from a second process running with a second priority to perform a data processing task for the second process. A dependency relationship may be identified between the first process and a third process running with a third priority performing separate data processing task. The dependency relationship may indicate that the data processing task is to be performed via the first process subsequent to completion of the separate data processing task via the third process. The third process may be updated with the second priority to complete the separate data processing task. The first process may perform the data processing task with the second priority for the second process.
Abstract translation: 描述了用于不同处理之间的优先捐赠的方法和装置。 以第一优先级运行的第一进程可以从具有第二优先级的第二进程接收请求,以执行第二进程的数据处理任务。 可以在第一进程和执行分开的数据处理任务的第三优先级运行的第三进程之间识别依赖关系。 依赖关系可以指示经由第三处理完成单独的数据处理任务之后,经由第一处理执行数据处理任务。 可以用第二优先级来更新第三进程以完成单独的数据处理任务。 第一进程可以执行具有第二进程的第二优先级的数据处理任务。
-
4.
公开(公告)号:US20150347177A1
公开(公告)日:2015-12-03
申请号:US14576917
申请日:2014-12-19
Applicant: Apple Inc.
Inventor: James Michael Magee , Russell A. Blaine , Daniel A. Chimene , James McIlree , Vishal Patel , Daniel Andreas Steffen , Kevin James Van Vechten
IPC: G06F9/48
CPC classification number: G06F9/4881 , G06F1/3206 , G06F1/3287 , G06F9/461 , G06F9/468 , G06F9/4818 , G06F9/50 , G06F9/52 , G06F9/545 , G06F2209/484 , G06F2209/485 , Y02D10/171 , Y02D10/24
Abstract: A method and an apparatus for priority donations among different processes are described. A first process running with a first priority may receive a request from a second process running with a second priority to perform a data processing task for the second process. A dependency relationship may be identified between the first process and a third process running with a third priority performing separate data processing task. The dependency relationship may indicate that the data processing task is to be performed via the first process subsequent to completion of the separate data processing task via the third process. The third process may be updated with the second priority to complete the separate data processing task. The first process may perform the data processing task with the second priority for the second process.
Abstract translation: 描述了用于不同处理之间的优先捐赠的方法和装置。 以第一优先级运行的第一进程可以从具有第二优先级的第二进程接收请求,以执行第二进程的数据处理任务。 可以在第一进程和执行分开的数据处理任务的第三优先级运行的第三进程之间识别依赖关系。 依赖关系可以指示经由第三处理完成单独的数据处理任务之后,经由第一处理执行数据处理任务。 可以用第二优先级来更新第三进程以完成单独的数据处理任务。 第一进程可以执行具有第二进程的第二优先级的数据处理任务。
-
公开(公告)号:US10430577B2
公开(公告)日:2019-10-01
申请号:US14576692
申请日:2014-12-19
Applicant: Apple Inc.
Inventor: James Michael Magee , Russell A. Blaine , Vishal Patel , Daniel Andreas Steffen , Kevin James Van Vechten , Jacques Anthony Vidrine , Kelly B. Yancey , Jainam A. Shah
Abstract: A method and an apparatus to dynamically distribute privileges among a plurality of processes are described. Each process may have attributes including a privilege to control access to processing resources. A first process may be running with a first privilege prohibited from access to a processing resource. A second process may be running with a second privilege allowed to access the processing resource. The first process may receive a request from the second process to perform a data processing task for the second process. In response, the second privilege may be dynamically transferred to the first process to allow the first process to access the processing resource. The first process may perform operations for the data processing task with the second privilege transferred from the second process.
-
公开(公告)号:US09378117B2
公开(公告)日:2016-06-28
申请号:US14292777
申请日:2014-05-30
Applicant: Apple Inc.
Inventor: David Vernon Payne , Daniel Andreas Steffen , Han Ming Ong , Jason Molenda , Kenneth Scott Orr , Katherine Blake Stone
CPC classification number: G06F11/3636
Abstract: When queuing work items for asynchronous execution, the approaches set forth herein enable a debugger to provide more meaningful and complete stack trace information for enqueued work items. An example system identifies a work item to be enqueued for asynchronous execution as a separate thread during runtime of a program. Upon enqueuing the work item in an execution queue, the system captures pre-queue stack trace information associated with the work item, and associates the pre-queue stack trace information with the work item. The system removes the work item from the execution queue for execution, wherein the execution is associated with current stack trace information separate from the pre-queue stack trace information. Upon detecting an event associated with executing the work item, the system merges the pre-queue stack trace information with the current stack trace information to yield a merged stack trace.
Abstract translation: 当对用于异步执行的工作项进行排队时,本文阐述的方法使调试器能够为排队的工作项提供更有意义和完整的堆栈跟踪信息。 示例系统在程序运行期间将要排入队列的工作项标识为异步执行,作为单独的线程。 在执行队列中排队工作项后,系统将捕获与工作项相关联的预排队堆栈跟踪信息,并将队列前跟踪信息与工作项相关联。 该系统从执行队列中删除工作项以供执行,其中执行与当前堆栈跟踪信息相关联,该信息与预先队列堆栈跟踪信息分开。 在检测到与执行工作项相关联的事件时,系统将预先队列堆栈跟踪信息与当前堆栈跟踪信息进行合并,以产生合并堆栈跟踪。
-
公开(公告)号:US11372672B2
公开(公告)日:2022-06-28
申请号:US14174658
申请日:2014-02-06
Applicant: Apple Inc.
Inventor: Daniel Andreas Steffen , Kevin James Van Vechten
Abstract: A method and apparatus that schedules and manages a background task for device is described. In an exemplary embodiment, the device registers the background task, where the registering includes storing execution criteria for the background task. The execution criteria indicates a criterion for launching the background task and the execution criteria based on a component status of the device. The device further monitors the running state of the device for an occurrence of the execution criteria. If the execution criteria occurs, the device determines an available headroom with the device in order to perform the background task and launches the background task if the background task importance is greater than the available device headroom, where the background task importance is a measure of how important it is for the device to run the background task.
-
8.
公开(公告)号:US20150347743A1
公开(公告)日:2015-12-03
申请号:US14576692
申请日:2014-12-19
Applicant: Apple Inc.
Inventor: James Michael Magee , Russell A. Blaine , Vishal Patel , Daniel Andreas Steffen , Kevin James Van Vechten , Jacques Anthony Vidrine , Kelly B. Yancey , Jainam A. Shah
Abstract: A method and an apparatus to dynamically distribute privileges among a plurality of processes are described. Each process may have attributes including a privilege to control access to processing resources. A first process may be running with a first privilege prohibited from access to a processing resource. A second process may be running with a second privilege allowed to access the processing resource. The first process may receive a request from the second process to perform a data processing task for the second process. In response, the second privilege may be dynamically transferred to the first process to allow the first process to access the processing resource. The first process may perform operations for the data processing task with the second privilege transferred from the second process.
Abstract translation: 描述了在多个处理之间动态分配特权的方法和装置。 每个进程可以具有包括控制对处理资源的访问的特权的属性。 第一进程可以以禁止访问处理资源的第一权限运行。 第二个进程可能正在运行,允许访问处理资源的第二个权限。 第一进程可以从第二进程接收对第二进程执行数据处理任务的请求。 作为响应,第二权限可以被动态地转移到第一进程以允许第一进程访问处理资源。 第一进程可以执行具有从第二进程传送的第二特权的数据处理任务的操作。
-
公开(公告)号:US20150347271A1
公开(公告)日:2015-12-03
申请号:US14292777
申请日:2014-05-30
Applicant: Apple Inc.
Inventor: David Vernon Payne , Daniel Andreas Steffen , Han Ming Ong , Jason Molenda , Kenneth Scott Orr , Katherine Blake Stone
IPC: G06F11/36
CPC classification number: G06F11/3636
Abstract: When queuing work items for asynchronous execution, the approaches set forth herein enable a debugger to provide more meaningful and complete stack trace information for enqueued work items. An example system identifies a work item to be enqueued for asynchronous execution as a separate thread during runtime of a program. Upon enqueuing the work item in an execution queue, the system captures pre-queue stack trace information associated with the work item, and associates the pre-queue stack trace information with the work item. The system removes the work item from the execution queue for execution, wherein the execution is associated with current stack trace information separate from the pre-queue stack trace information. Upon detecting an event associated with executing the work item, the system merges the pre-queue stack trace information with the current stack trace information to yield a merged stack trace.
Abstract translation: 当对用于异步执行的工作项进行排队时,本文阐述的方法使调试器能够为排队的工作项提供更有意义和完整的堆栈跟踪信息。 示例系统在程序运行期间将要排入队列的工作项标识为异步执行,作为单独的线程。 在执行队列中排队工作项后,系统将捕获与工作项相关联的预排队堆栈跟踪信息,并将队列前跟踪信息与工作项相关联。 系统从执行队列中删除工作项以供执行,其中执行与当前堆栈跟踪信息相关联,该信息与预排队堆栈跟踪信息分开。 在检测到与执行工作项相关联的事件时,系统将预先队列堆栈跟踪信息与当前堆栈跟踪信息进行合并,以产生合并堆栈跟踪。
-
公开(公告)号:US10162727B2
公开(公告)日:2018-12-25
申请号:US15194265
申请日:2016-06-27
Applicant: Apple Inc.
Inventor: Eric Russell Clements , Daniel Andreas Steffen , Jainam Ashokkumar Shah , Vishal Patel , Damien P. Sorresso
Abstract: Systems and methods are disclosed for logging encoded diagnostic information from a sequence of processing operations, the processing operations generated by an activity in a computing environment. Diagnostic information is tracked by activity, across process boundaries where the processes can be in computationally isolated, or “sandboxed”. Within each process, diagnostic information for an activity is stored in an activity-specific buffer registered with a kernel in the computing environment. For each activity in the computing system, the kernel keeps a list of all processes that have performed, or are performing, a processing task of the activity. The kernel also keeps a reference to the activity-specific log buffers for the activity for each process associated with the activity. If a processing operation for an activity fails, all activity-specific logs from all processes that are associated with the activity can be collected. A report can be generated from the collected logs for the activity.
-
-
-
-
-
-
-
-
-