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