Searched refs:current_buffer_index (Results 1 – 2 of 2) sorted by relevance
36 static int current_buffer_index; variable46 stopwatch_logs[current_buffer_index].end_timestamp - in RecordLog()47 stopwatch_logs[current_buffer_index].start_timestamp) in RecordLog()51 if (current_buffer_index >= LOG_BUFFER_LENGTH) { in RecordLog()52 current_buffer_index = 0; in RecordLog()54 stopwatch_logs[current_buffer_index] = std::move(log); in RecordLog()55 current_buffer_index++; in RecordLog()64 if (current_buffer_index >= LOG_BUFFER_LENGTH) { in DumpStopWatchLog()65 current_buffer_index = 0; in DumpStopWatchLog()67 if (stopwatch_logs[current_buffer_index].message.empty()) { in DumpStopWatchLog()[all …]
36 static int current_buffer_index; variable45 stopwatch_logs[current_buffer_index].end_timestamp - in RecordLog()46 stopwatch_logs[current_buffer_index].start_timestamp) in RecordLog()50 if (current_buffer_index >= LOG_BUFFER_LENGTH) { in RecordLog()51 current_buffer_index = 0; in RecordLog()53 stopwatch_logs[current_buffer_index] = std::move(log); in RecordLog()54 current_buffer_index++; in RecordLog()63 if (current_buffer_index >= LOG_BUFFER_LENGTH) { in DumpStopWatchLog()64 current_buffer_index = 0; in DumpStopWatchLog()66 if (stopwatch_logs[current_buffer_index].message.empty()) { in DumpStopWatchLog()[all …]