首页> 外国专利> PRECISE ACCOUNTING OF PROCESSOR TIME FOR MULTI-THREADED TIME-CRITICAL APPLICATIONS

PRECISE ACCOUNTING OF PROCESSOR TIME FOR MULTI-THREADED TIME-CRITICAL APPLICATIONS

机译:多重时间关键应用程序中的处理器时间的精确计算

摘要

Methods and apparatus for processor time accounting for a thread executing in a multi-threaded environment are disclosed. A thread executing in an operating system receives from an operating system an allotment of time for use of a processor, and performs timed computations using the processor. Iteratively or after completing the computations, the thread determines an amount of time used by the thread based on a thread utilization counter initialized by the operating. The thread makes this determination through a user-level library function call rather than a call to the operating. The thread obtains an amount of time remaining in the allotment of time by comparing the thread utilization counter to a current CPU time using a user-level library function call.
机译:公开了用于处理器时间核算在多线程环境中执行的线程的方法和装置。在操作系统中执行的线程从操作系统接收分配给处理器的时间分配,并使用处理器执行定时计算。迭代地或在完成计算之后,线程会根据操作初始化的线程利用率计数器来确定线程使用的时间。线程通过用户级库函数调用而不是操作调用来确定。通过使用用户级库函数调用将线程利用率计数器与当前CPU时间进行比较,线程获得了时间分配中剩余的时间量。

著录项

  • 公开/公告号US2020174827A1

    专利类型

  • 公开/公告日2020-06-04

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINES CORPORATION;

    申请/专利号US201816203735

  • 发明设计人 KELVIN D. NILSEN;

    申请日2018-11-29

  • 分类号G06F9/48;G06F9/30;

  • 国家 US

  • 入库时间 2022-08-21 11:19:52

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号