首页> 外国专利> GATHERING STATISTICS IN A PROCESS WITHOUT SYNCHRONIZATION

GATHERING STATISTICS IN A PROCESS WITHOUT SYNCHRONIZATION

机译:在不同步的情况下汇总统计信息

摘要

Each processing resource in a scheduler of a process executing on a computer system maintains counts of the number of tasks that arrive at the processing resource and the number of tasks that complete on the processing resource. The counts are maintained in storage that is only writeable by the corresponding processing resource. The scheduler collects and sums the counts from each processing resource and provides statistics based on the summed counts and previous summed counts to a resource manager in response to a request from the resource manager. The scheduler does not reset the counts when the counts are collected and stores copies of the summed counts for use with the next request from the resource manager. The counts may be maintained without synchronization and with thread safety to minimize the impact of gathering statistics on the application.
机译:在计算机系统上执行的进程的调度程序中的每个处理资源都维护到达处理资源的任务数和在处理资源上完成的任务数的计数。计数保存在只能由相应处理资源写入的存储中。调度程序从每个处理资源收集计数并对其求和,并响应于来自资源管理器的请求,将基于总计数和先前总计数的统计信息提供给资源管理器。收集计数时,调度程序不会重置计数,而是存储汇总计数的副本以与资源管理器的下一个请求一起使用。可以在不同步且线程安全的情况下维护计数,以最小化收集统计信息对应用程序的影响。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号