Searched refs:snapshot_buffer (Results 1 – 4 of 4) sorted by relevance
72 struct cras_audio_thread_snapshot_buffer snapshot_buffer; member146 memset(&state.snapshot_buffer, 0, in cras_system_state_init()596 memcpy(&state.exp_state->snapshot_buffer, &state.snapshot_buffer, in cras_system_state_dump_snapshots()603 state.snapshot_buffer.snapshots[state.snapshot_buffer.pos++] = in cras_system_state_add_snapshot()605 state.snapshot_buffer.pos %= in cras_system_state_add_snapshot()
671 const struct cras_audio_thread_snapshot_buffer *snapshot_buffer; in audio_thread_snapshots() local676 snapshot_buffer = cras_client_get_audio_thread_snapshot_buffer(client); in audio_thread_snapshots()677 i = snapshot_buffer->pos; in audio_thread_snapshots()680 if(snapshot_buffer->snapshots[i].timestamp.tv_sec || in audio_thread_snapshots()681 snapshot_buffer->snapshots[i].timestamp.tv_nsec) in audio_thread_snapshots()684 &snapshot_buffer->snapshots[i]); in audio_thread_snapshots()
395 struct cras_audio_thread_snapshot_buffer snapshot_buffer; member
2700 const struct cras_audio_thread_snapshot_buffer *snapshot_buffer; in cras_client_get_audio_thread_snapshot_buffer() local2707 snapshot_buffer = &client->server_state->snapshot_buffer; in cras_client_get_audio_thread_snapshot_buffer()2709 return snapshot_buffer; in cras_client_get_audio_thread_snapshot_buffer()