Commit 772621d
authored
Add: experimental st40p api flag for queue stats (#1172)
Add experimental st40p api flag for our
framebuffer queue statistics. This will allow
the user to see clearly how many frames are in
which queue state.
Example output:
TX_st40p(0,st40sink), stat free: 15
TX_st40p(0,st40sink), stat in_user: 0
TX_st40p(0,st40sink), stat ready: 12
TX_st40p(0,st40sink), stat in_transmitting: 1
We are assuming this may be inaccurate, as no
locking is done on the queue, but it is
useful for debugging purposes.
We could possibly replace the current stats for
consumer/producer.
For now, we are keeping it as an optional
feature.1 parent a6db55d commit 772621d
File tree
3 files changed
+31
-3
lines changed- include/experimental
- lib/src/st2110/experimental
3 files changed
+31
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
| |||
283 | 287 | | |
284 | 288 | | |
285 | 289 | | |
| 290 | + | |
| 291 | + | |
286 | 292 | | |
287 | 293 | | |
288 | 294 | | |
289 | 295 | | |
290 | 296 | | |
291 | | - | |
292 | | - | |
293 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
294 | 316 | | |
295 | 317 | | |
296 | 318 | | |
| 319 | + | |
297 | 320 | | |
298 | 321 | | |
299 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
0 commit comments