摘要 |
A pattern may be written to an allocated section of host memory to track how much data has been received in the host memory from a direct memory access controller coupled to a First In, First Out memory. A driver may send the most recently written sample of data from the host memory to an application requesting sampled data. The driver may determine the amount of data written to the host memory by reading the allocated section of host memory and determining the size of a portion of memory, that previously had the pattern, that has been written over with data. The driver may determine if more data than a predetermined amount of data has been written to the host memory or is available to be written to the host memory, and if necessary, send an indication to the application.
|