Home
last modified time | relevance | path

Searched refs:free_indices (Results 1 – 1 of 1) sorted by relevance

/system/extras/memory_replay/
DTraceBenchmark.cpp49 static size_t GetIndex(std::stack<size_t>& free_indices, size_t* max_index) { in GetIndex() argument
50 if (free_indices.empty()) { in GetIndex()
53 size_t index = free_indices.top(); in GetIndex()
54 free_indices.pop(); in GetIndex()
99 std::stack<size_t> free_indices; in GetTraceData() local
107 size_t idx = GetIndex(free_indices, &trace_data->num_ptrs); in GetTraceData()
119 free_indices.push(old_pointer_idx); in GetTraceData()
123 size_t idx = GetIndex(free_indices, &trace_data->num_ptrs); in GetTraceData()
134 free_indices.push(idx_entry->second); in GetTraceData()