Lines Matching full:log
19 #define ATLOG(log,event,data1,data2,data3) \ argument
20 audio_thread_event_log_data(log,event,data1,data2,data3);
22 #define ATLOG(log,event,data1,data2,data3) argument
30 struct audio_thread_event_log *log; in audio_thread_event_log_init() local
31 log = (struct audio_thread_event_log *) in audio_thread_event_log_init()
33 log->len = AUDIO_THREAD_EVENT_LOG_SIZE; in audio_thread_event_log_init()
35 return log; in audio_thread_event_log_init()
39 void audio_thread_event_log_deinit(struct audio_thread_event_log *log) in audio_thread_event_log_deinit() argument
41 free(log); in audio_thread_event_log_deinit()
44 /* Log a tag and the current time, Uses two words, the first is split
48 struct audio_thread_event_log *log, in audio_thread_event_log_data() argument
57 log->log[log->write_pos].tag_sec = in audio_thread_event_log_data()
59 log->log[log->write_pos].nsec = now.tv_nsec; in audio_thread_event_log_data()
60 log->log[log->write_pos].data1 = data1; in audio_thread_event_log_data()
61 log->log[log->write_pos].data2 = data2; in audio_thread_event_log_data()
62 log->log[log->write_pos].data3 = data3; in audio_thread_event_log_data()
64 log->write_pos++; in audio_thread_event_log_data()
65 log->write_pos %= AUDIO_THREAD_EVENT_LOG_SIZE; in audio_thread_event_log_data()