Lines Matching refs:event_index
31 size_t event_index; in AddTraceEvent() local
32 TraceObject* trace_object = chunk->AddTraceEvent(&event_index); in AddTraceEvent()
33 *handle = MakeHandle(chunk_index_, chunk->seq(), event_index); in AddTraceEvent()
39 size_t chunk_index, event_index; in GetEventByHandle() local
41 ExtractHandle(handle, &chunk_index, &chunk_seq, &event_index); in GetEventByHandle()
45 return chunk->GetEventAt(event_index); in GetEventByHandle()
69 size_t event_index) const { in MakeHandle()
71 chunk_index * TraceBufferChunk::kChunkSize + event_index; in MakeHandle()
76 size_t* event_index) const { in ExtractHandle()
80 *event_index = indices % TraceBufferChunk::kChunkSize; in ExtractHandle()
95 TraceObject* TraceBufferChunk::AddTraceEvent(size_t* event_index) { in AddTraceEvent() argument
96 *event_index = next_free_++; in AddTraceEvent()
97 return &chunk_[*event_index]; in AddTraceEvent()