FS-11918: [core] add function to see frame buffer len switch_frame_buffer_size

This commit is contained in:
Anthony Minessale
2019-02-06 16:44:39 +00:00
committed by Andrey Volk
parent dab7d83e94
commit 4926eac49d
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -1425,7 +1425,8 @@ SWITCH_DECLARE(switch_status_t) switch_frame_buffer_push(switch_frame_buffer_t *
SWITCH_DECLARE(switch_status_t) switch_frame_buffer_trypush(switch_frame_buffer_t *fb, void *ptr);
SWITCH_DECLARE(switch_status_t) switch_frame_buffer_pop(switch_frame_buffer_t *fb, void **ptr);
SWITCH_DECLARE(switch_status_t) switch_frame_buffer_trypop(switch_frame_buffer_t *fb, void **ptr);
SWITCH_DECLARE(int) switch_frame_buffer_size(switch_frame_buffer_t *fb);
typedef struct {
int64_t userms;
int64_t kernelms;