|
我用使用TL138的ad7606_dsp demo程序 发现运行在128k采样速率时 随着运行时间的变化ipc_ring_buffer出现问题了 剩余的内存最后为0了 也就是没有release掉 不知道各位之前注意到这个问题没有 是否有好的解决方法?求赐教~" a6 I2 t I' e4 d/ z! c
, M; Q& _1 q- n2 O[INFO |main@main_dsp.c,82] --> main:$ U( y1 q. \# x% L/ G5 m; r
[INFO |message_loop_fun@main_dsp.c,24] --> message_loop_fun:
2 o& k& c$ S7 I0 {[INFO |message_loop_start@app/message_loop.c,115] message loop start$ p) [, S! P- ^1 [* m( P
[INFO |message_loop_start@app/message_loop.c,119] wait for cmd
3 T# m. K! p* H9 }, [. \, D[INFO |message_loop_on_disable_fft@app/message_loop.c,97] recv disable fft
, D- {3 m5 F( v[WRAN |message_loop_on_disable_fft@app/message_loop.c,99] no start cmd previous# ?6 X, h% u9 _, g: Q
[INFO |message_loop_start@app/message_loop.c,119] wait for cmd3 i; f9 I8 U: o: r, W; x* I8 z
[INFO |message_loop_on_start@app/message_loop.c,68] start, sample rate is 131072 points5 t( V W x! N7 E% {& K7 E$ d) F
[DEBUG|ad7606_trigger@driver/ad7606.c,494] set trigger as 131072
+ o, s3 V, ?: Y' y[DEBUG|message_loop_on_start@app/message_loop.c,79] channel is 0
8 B: H) u3 c% y- @0 B% I/ L9 z[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 8912896:$ I8 j) v8 M( W; L, @& l
[INFO |message_loop_start@app/message_loop.c,119] wait for cmd
5 F: u" \ h! X[INFO |fft_task_func@app/ad_workshop.c,61] fft task is running5 z0 l4 z5 K/ M' E
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 8388608:
3 |9 @( |5 c- l[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 8388608:# s0 Z5 G9 E% ^) ]! U
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 7864320:
6 X! K- k& ^2 _3 b4 e( l[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 8388608:
: Y4 u5 U5 u) H( q[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 7864320:
6 p1 |; [( l5 z[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 7340032:! P% d9 H! D7 W
…………此处省略…………
2 h, W; S3 T- }0 m: y3 x0 m( W. Q[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 0:& n+ u& J3 j/ m0 C# ]* l m
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 524288:
6 m9 S, d. h: Z! m- K3 @3 q: T- H0 v# h[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 0:6 P/ c3 g8 ~) `7 Y# `$ U6 W
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,58] unstatified acquired, request is 524288, actual is 0
/ t! V2 U# |/ @+ y1 U% Q[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,59] empty size is 524288
6 w! Y0 v" @, t9 [* i! Q! K5 {[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,60] valid size is 8388608' x: Y+ ?: }* s9 p4 J1 y9 X
[WRAN |ad7606_busy_hwi@driver/ad7606.c,349] failed to acquired buffer
+ Q, X4 Z/ e" s6 t$ ]: [- S2 F[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 0:; l; Q/ c" B* \# a3 b
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,63] Empty size is 0:
. _' \8 q( C8 ?% l5 u% y( R7 d[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,58] unstatified acquired, request is 524288, actual is 0
8 F3 T, U2 u+ Y( n4 F[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,59] empty size is 08 h1 _ T' b+ U# u& l5 W3 h
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,60] valid size is 8912896
8 w1 x0 y+ H5 I3 o# N& C[WRAN |ad7606_busy_hwi@driver/ad7606.c,349] failed to acquired buffer/ ~: n; }5 e) a& U/ x
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,58] unstatified acquired, request is 524288, actual is 04 Z; |' W! @) o1 {3 T
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,59] empty size is 0! A9 d0 A+ H" V! Z, B
[DEBUG|ipc_ring_buffer_acquired@ipc/ipc_ring_buffer.c,60] valid size is 8912896* T' f. _. p1 U. x
[WRAN |ad7606_busy_hwi@driver/ad7606.c,349] failed to acquired buffer
) M5 Q8 U8 B% C
4 v7 ~7 I" h; z7 F3 }( S0 Q; H; i9 Y7 ^
7 l4 {, k% n% a* w$ ~. u4 d: N1 B, A3 \
1 q+ w# S: M. P5 b
, r3 R& i2 v2 x; x* ?+ q3 R1 O( Q |
|