发明授权
- 专利标题: Maintaining lock-free, high frequency, high performance counters in software
- 专利标题(中): 在软件中维护无锁,高频,高性能计数器
-
申请号: US14793635申请日: 2015-07-07
-
公开(公告)号: US09477471B1公开(公告)日: 2016-10-25
- 发明人: Sridhar Vishwanathan Iyer , Apurva Mehta
- 申请人: VERSA NETWORKS, INC.
- 申请人地址: US CA Santa Clara
- 专利权人: VERSA NETWORKS, INC.
- 当前专利权人: VERSA NETWORKS, INC.
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Nicholson De Vos Webster & Elliot LLP
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F9/30 ; G06F9/50
摘要:
A first and second thread-local counter is allocated to a first and second thread respectively, where the first thread-local counter is updatable only by or on behalf of the first thread and the second thread-local counter is updatable only by or on behalf of the second thread. The first and second thread-local counter are updated and the updated values are communicated to a central process. The central process updates a single counter in a central database by a value equal to the sum of the updated counter values.
信息查询