diff options
Diffstat (limited to 'apps/talk.h')
-rw-r--r-- | apps/talk.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/talk.h b/apps/talk.h index 4da3a61f3b..5ffc9ae5e6 100644 --- a/apps/talk.h +++ b/apps/talk.h | |||
@@ -162,4 +162,16 @@ int talk_idarray(const long *idarray, bool enqueue); | |||
162 | } \ | 162 | } \ |
163 | }while(0) | 163 | }while(0) |
164 | 164 | ||
165 | struct talk_debug_data { | ||
166 | char voicefile[32]; | ||
167 | long memory_allocated, memory_used; | ||
168 | int num_clips, num_empty_clips; | ||
169 | int min_clipsize, avg_clipsize, max_clipsize; | ||
170 | int cached_clips; | ||
171 | int cache_hits; | ||
172 | int cache_misses; | ||
173 | }; | ||
174 | |||
175 | bool talk_get_debug_data(struct talk_debug_data *data); | ||
176 | |||
165 | #endif /* __TALK_H__ */ | 177 | #endif /* __TALK_H__ */ |