Performance counter inheritance
    1.
    发明授权
    Performance counter inheritance 有权
    性能计数器继承

    公开(公告)号:US08935703B2

    公开(公告)日:2015-01-13

    申请号:US12636674

    申请日:2009-12-11

    IPC分类号: G06F9/46

    摘要: A system for providing performance counter inheritance includes an operating system that receives a request of a first application to monitor performance of a second application, the request identifying an event to monitor during the execution of a task associated with the second application. The operating system causes a task counter corresponding to the event to be activated, and automatically activates a child task counter for each child task upon receiving a notification that execution of a corresponding child task is starting. Further, the operating system adds a value of each child task counter to a value of the task counter to determine a total counter value for the task, and provides the total counter value of the task to the first application.

    摘要翻译: 用于提供性能计数器继承的系统包括操作系统,其接收第一应用的请求以监视第二应用的性能,所述请求标识在执行与第二应用相关联的任务期间要监视的事件。 操作系统导致与事件相对应的任务计数器被激活,并且在接收到相应的子任务的执行开始的通知时,为每个子任务自动激活子任务计数器。 此外,操作系统将每个子任务计数器的值添加到任务计数器的值,以确定任务的总计数值,并将任务的总计数值提供给第一应用。

    METHOD AND SYSTEM FOR ROBUST FUTEXES
    2.
    发明申请
    METHOD AND SYSTEM FOR ROBUST FUTEXES 有权
    用于稳健燃料的方法和系统

    公开(公告)号:US20100318504A1

    公开(公告)日:2010-12-16

    申请号:US12861431

    申请日:2010-08-23

    IPC分类号: G06F17/30

    CPC分类号: G06F9/526 G06F17/30362

    摘要: An embodiment relates to a method of managing primitives. The method includes providing a data structure available in user-space where the data structure comprises at least one futex. The method also includes detecting a termination of the process and searching the data structure for status of the at least one futex. The method further includes releasing the at least one futex in response to status of the at least one futex being held and setting a flag for at least one futex. The method further includes notifying at least one process waiting for the released at least one futex.

    摘要翻译: 一个实施例涉及一种管理图元的方法。 该方法包括提供在用户空间中可用的数据结构,其中数据结构包括至少一个futex。 该方法还包括检测过程的终止并且搜索数据结构以获得至少一个futex的状态。 该方法还包括响应于所保持的至少一个期货的状态释放至少一个期货,并为至少一个期货设定一个标志。 该方法还包括通知至少一个进程等待所发布的至少一个futex。

    KERNEL SUBSYSTEM FOR HANDLING PERFORMANCE COUNTERS AND EVENTS
    3.
    发明申请
    KERNEL SUBSYSTEM FOR HANDLING PERFORMANCE COUNTERS AND EVENTS 有权
    用于处理性能计数器和事件的KERNEL子系统

    公开(公告)号:US20110138146A1

    公开(公告)日:2011-06-09

    申请号:US12631663

    申请日:2009-12-04

    IPC分类号: G06F9/46 G06F12/02

    摘要: A system for handling performance counters and events includes an operating system that receives a request of a first application for performance data associated with a type of event to be performed by a second application, causes a hardware counter pertaining to the event type to be activated, and provides a file descriptor corresponding to the hardware counter to the first application. The operating system then receives a second request of the first application for a value of the hardware counter, where the second request includes the file descriptor, and provides the value of the hardware counter to the first application.

    摘要翻译: 用于处理性能计数器和事件的系统包括操作系统,其接收与第二应用将要执行的事件类型相关联的性能数据的第一应用的请求,导致与所述事件类型有关的硬件计数器被激活, 并提供对应于第一应用的硬件计数器的文件描述符。 操作系统然后接收硬件计数器的值的第一应用的第二请求,其中第二请求包括文件描述符,并且向第一应用提供硬件计数器的值。

    Method and system for robust futexes
    4.
    发明授权
    Method and system for robust futexes 有权
    强大的futexes的方法和系统

    公开(公告)号:US07783649B2

    公开(公告)日:2010-08-24

    申请号:US11670095

    申请日:2007-02-01

    IPC分类号: G06F7/00

    CPC分类号: G06F9/526 G06F17/30362

    摘要: An embodiment relates to a method of managing primitives. The method includes providing a data structure available in user-space where the data structure comprises at least one futex. The method also includes detecting a termination of the process and searching the data structure for status of the at least one futex. The method further includes releasing the at least one futex in response to status of the at least one futex being held and setting a flag for at least one futex. The method further includes notifying at least one process waiting for the released at least one futex.

    摘要翻译: 一个实施例涉及一种管理图元的方法。 该方法包括提供在用户空间中可用的数据结构,其中数据结构包括至少一个futex。 该方法还包括检测过程的终止并且搜索数据结构以获得至少一个futex的状态。 该方法还包括响应于所保持的至少一个期货的状态释放至少一个期货,并为至少一个期货设定一个标志。 该方法还包括通知至少一个进程等待所发布的至少一个futex。

    Software performance counters
    5.
    发明授权
    Software performance counters 有权
    软件性能计数器

    公开(公告)号:US08171340B2

    公开(公告)日:2012-05-01

    申请号:US12636661

    申请日:2009-12-11

    IPC分类号: G06F11/00

    摘要: A system for providing software performance counters includes an operating system that receives a first request of a first application to monitor performance of a second application, the first request identifying a type of event to monitor during the execution of the second application. The operating system determines that the event is a software event, monitors the performance of the second application with respect to the type of the software event, and updates a counter associated with the type of the software event based on the monitoring. Further, the operating system receives a second request of the first application for performance data associated with the type of the software event counter, and provides the value of the counter to the first application.

    摘要翻译: 用于提供软件性能计数器的系统包括接收第一应用的第一请求以监视第二应用的性能的操作系统,所述第一请求标识在执行第二应用期间要监视的事件的类型。 所述操作系统确定所述事件是软件事件,针对所述软件事件的类型来监视所述第二应用的性能,并且基于所述监视来更新与所述软件事件的类型相关联的计数器。 此外,操作系统接收第一应用的与软件事件计数器的类型相关联的性能数据的第二请求,并且向第一应用提供计数器的值。

    OBTAINING APPLICATION PERFORMANCE DATA FOR DIFFERENT PERFORMANCE EVENTS VIA A UNIFIED CHANNEL
    6.
    发明申请
    OBTAINING APPLICATION PERFORMANCE DATA FOR DIFFERENT PERFORMANCE EVENTS VIA A UNIFIED CHANNEL 有权
    通过统一通道获取不同性能事件的应用性能数据

    公开(公告)号:US20110138389A1

    公开(公告)日:2011-06-09

    申请号:US12631679

    申请日:2009-12-04

    IPC分类号: G06F9/46

    摘要: A system for obtaining performance data for different performance events includes a first application monitoring performance of a second application executing on a computing system. The first application identifies the type of event to be measured with respect to the second application, issues a first system call identifying the type of event, receives an identifier corresponding to the event type, and causes the second application to begin execution. After the execution of the second application is completed, the first application issues a second system call including the identifier corresponding to the event type, and receives a value of a hardware counter corresponding to the event type from an operating system.

    摘要翻译: 用于获取用于不同性能事件的性能数据的系统包括第一应用监视在计算系统上执行的第二应用的性能。 第一应用程序识别关于第二应用程序要测量的事件的类型,发出标识事件类型的第一系统调用,接收对应于事件类型的标识符,并使第二应用程序开始执行。 在完成第二应用程序的执行之后,第一应用程序发出包括与事件类型对应的标识符的第二系统调用,并从操作系统接收对应于事件类型的硬件计数器的值。

    Method and system for robust futexes
    9.
    发明授权
    Method and system for robust futexes 有权
    强大的futexes的方法和系统

    公开(公告)号:US08682914B2

    公开(公告)日:2014-03-25

    申请号:US13335325

    申请日:2011-12-22

    IPC分类号: G06F17/00 G06F17/30

    CPC分类号: G06F9/526 G06F17/30362

    摘要: Systems and methods of managing primitives are disclosed. A data structure that is stored in user space is registered, wherein the data structure tracks a user controllable mutual exclusion primitive that is acquired by a process running in the user space, and wherein the user controllable mutual exclusion primitive serves as a lock on a resource provided by a computer system. A termination of the process is detected, wherein the process maintains the lock on the resource after termination and the data structure is searched to identify the user controllable mutual exclusion primitive that is acquired by the process that terminated. The user controllable mutual exclusion primitive is released if the user controllable mutual exclusion primitive is identified as being acquired by the process.

    摘要翻译: 公开了管理原语的系统和方法。 登录存储在用户空间中的数据结构,其中数据结构跟踪由在用户空间中运行的进程获取的用户可控互斥原语,并且其中用户可控互斥原语用作资源上的锁 由计算机系统提供。 检测到该过程的终止,其中该过程在终止之后保持资源上的锁定,并且搜索数据结构以识别由终止的进程获取的用户可控互斥原语。 如果用户可控制的互斥原语被识别为被该过程所获取,则用户可控互斥原语被释放。

    Kernel subsystem for handling performance counters and events
    10.
    发明授权
    Kernel subsystem for handling performance counters and events 有权
    用于处理性能计数器和事件的内核子系统

    公开(公告)号:US08286192B2

    公开(公告)日:2012-10-09

    申请号:US12631663

    申请日:2009-12-04

    IPC分类号: G06F13/00

    摘要: A system for handling performance counters and events includes an operating system that receives a request of a first application for performance data associated with a type of event to be performed by a second application, causes a hardware counter pertaining to the event type to be activated, and provides a file descriptor corresponding to the hardware counter to the first application. The operating system then receives a second request of the first application for a value of the hardware counter, where the second request includes the file descriptor, and provides the value of the hardware counter to the first application.

    摘要翻译: 用于处理性能计数器和事件的系统包括操作系统,其接收与第二应用将要执行的事件类型相关联的性能数据的第一应用的请求,导致与所述事件类型有关的硬件计数器被激活, 并提供对应于第一应用的硬件计数器的文件描述符。 操作系统然后接收硬件计数器的值的第一应用的第二请求,其中第二请求包括文件描述符,并且向第一应用提供硬件计数器的值。