主权项 |
1. A method for efficient logging in a control system, the method comprising:
identifying, by one or more processors, a first plurality of registers based on a frequency of requests to access data values stored in the first plurality of registers; receiving, from a server, a request to access at least one of the first plurality of registers, the request comprising addresses of a second plurality of registers and a plurality of data values to be stored in the second plurality of registers, the addresses of the second plurality of registers having a first register address and a last register address, wherein the first register address points to a first register in the second plurality of registers and wherein the last register address points to a last register in the second plurality of registers; identifying, by one or more processors, a third plurality of registers based at least in part on predetermined criteria for inclusion into the third plurality of registers, wherein the third plurality of registers is a subset of the second plurality of registers having a corresponding subset of the plurality of data values; and storing, in an event log file, a log entry corresponding to each data value in the corresponding subset of the plurality of data values. |