发明名称 Determining processor offsets to synchronize processor time values
摘要 Provided are a computer program product, system, and method for determining processor offsets to synchronize processor time values. A determination is made of a master processor offset from one of a plurality of time values of the master processor and a time value of one of the slave processors. A determination is made of slave processor offsets, wherein each slave processor offset is determined from the master processor offset, one of the time values of the master processor, and a time value of the slave processor. A current time value of the master processor is adjusted by the master processor offset. A current time value of each of the slave processors is adjusted by the slave processor offset for the slave processor whose time value is being adjusted.
申请公布号 US8935511(B2) 申请公布日期 2015.01.13
申请号 US201012902047 申请日期 2010.10.11
申请人 International Business Machines Corporation 发明人 Cardinell Charles S.;Laubli Bernhard;Van Patten Timothy J.
分类号 G06F1/14;G06F11/16 主分类号 G06F1/14
代理机构 Konrad Raynes Davada & Victor LLP 代理人 Victor David W.;Konrad Raynes Davada & Victor LLP
主权项 1. A computer program product for synchronizing a time among a plurality of processors, the computer program product comprising a non-transitory computer readable storage medium having computer readable program code embodied therein that is executed by a master processor and a plurality of slave processors to perform operations, the operations comprising: writing, by the master processor, master time values at different times to a shared memory; writing, by the slave processors, slave time values at different times to the shared memory; determining a master processor offset from one of a plurality of master time values and at least one of the slave time values in the shared memory; determining slave processor offsets, wherein each slave processor offset is determined from the master processor offset, one of the master time values of the master processor, and one of the slave time values of the slave processor; adjusting a current time value of the master processor by the master processor offset; and adjusting a current time value of each of the slave processors by the slave processor offset for the slave processor whose time value is being adjusted.
地址 Armonk NY US
您可能感兴趣的专利