释义 |
ring buffer短语⁵⁷⁰⁸⁹ 基本例句 环形缓冲区 A ring buffer is a logging technique for applications whereby the relevant data to be logged is kept in memory instead of writing it to a file on a disk every time. 循环缓冲区是一种用于应用程序的日志记录技术,它可以将相关的数据保存在内存中,而不是每次都将其写入到磁盘上的文件中。 ibm A ring buffer is an ideal solution for programs that log continuously, and you don't need a complete history of the program when debugging. 对于那些不断地进行日志记录的程序来说,循环缓冲区是一种理想的解决方案,并且在调试的过程中,您并不需要该程序完整的历史信息。 ibm A ring buffer makes logging efficient by using memory operations in place of file operations. 通过使用内存操作代替文件操作,循环缓冲区使得日志记录的效率更高。 ibm A ring buffer provides the following advantages over the traditional file logging mechanism. 与传统的文件日志记录机制相比,循环缓冲区提供了下列优势。 ibm Figure1 shows the states of a ring buffer when two entries of a log are written into it. 图1显示了将两个条目写入到循环缓冲区后该缓冲区的状态。 ibm Since you are overwriting the previous contents in a ring buffer, you lose data by doing so. 因为您覆盖了循环缓冲区中以前的内容,所以在完成该操作后,您将丢失以前的数据。 ibm This article discussed a few approaches and things to be aware of while implementing ring buffer in multi-threaded programs. 本文介绍了在多线程程序中实现循环缓冲区的方法和一些需要注意的内容。 ibm This article discusses common implementations for ring buffer and proposes some ideas for enabling a ring buffer mechanism in multi-threaded programs. 本文讨论了循环缓冲区的一些常见实现,并对多线程程序中循环缓冲区的启用机制提出了一些观点。 ibm This circular, in- memory buffer is known as ring buffer. 这个循环的、内存中的缓冲区称为循环缓冲区。 ibm This section discusses some important points to consider when using a ring buffer to enable logging in a multi-threaded application. 这个部分介绍了在多线程应用程序中使用循环缓冲区启用日志记录时需要考虑的一些重要方面。 ibm Ring buffer logging consists of a fixed size of allocated memory buffer that is used by the process for logging. 循环缓冲区日志记录由一个固定大小的内存缓冲区构成,进程使用这个内存缓冲区进行日志记录。 ibm |