Lines Matching refs:mRingBuffer
57 mRingBuffer = new Entry[mSize]; in LogRing()
58 if (NULL == mRingBuffer) in LogRing()
63 if (NULL != mRingBuffer) in ~LogRing()
64 delete[] mRingBuffer; in ~LogRing()
85 if (NULL != mRingBuffer) { in internalLog()
91 last = &(mRingBuffer[(mWr + mSize - 1) % mSize]); in internalLog()
98 gettimeofday(&mRingBuffer[mWr].first_ts, NULL); in internalLog()
99 mRingBuffer[mWr].last_ts = mRingBuffer[mWr].first_ts; in internalLog()
100 mRingBuffer[mWr].count = 1; in internalLog()
101 mRingBuffer[mWr].s.setTo(s); in internalLog()
114 if (NULL == mRingBuffer) in dumpLog()
138 if (1 != mRingBuffer[ndx].count) { in dumpLog()
139 localtime_r(&mRingBuffer[ndx].last_ts.tv_sec, &t); in dumpLog()
143 mRingBuffer[ndx].count, in dumpLog()
145 mRingBuffer[ndx].last_ts.tv_usec / 1000); in dumpLog()
151 localtime_r(&mRingBuffer[ndx].first_ts.tv_sec, &t); in dumpLog()
155 mRingBuffer[ndx].first_ts.tv_usec / 1000, in dumpLog()
156 mRingBuffer[ndx].s.string(), in dumpLog()