ring_buffer_wrap_no_split.diag 995 B

1234567891011121314151617181920212223242526272829303132333435
  1. #Diagram demonstrating wrap around in a No-Split ring buffer
  2. #Buffer of 128 bytes, with 56 bytes free, and 28 bytes sent
  3. packetdiag ring_buffer_wrap_no_split {
  4. node_width = 6
  5. node_height = 24
  6. default_fontsize = 12
  7. colwidth = 128
  8. #Initial state
  9. 0-39: 40 Free
  10. 40-47: 8 [color = lightblue];
  11. 48-63: 16 [color = lightyellow];
  12. 64-71: 8 [color = lightblue];
  13. 72-111: 40 [color = lightyellow];
  14. 112-127: 16 Free
  15. #Set dummy data
  16. 128-167: 40 Free
  17. 168-175: 8 [color = lightblue];
  18. 176-191: 16 [color = lightyellow];
  19. 192-199: 8 [color = lightblue];
  20. 200-239: 40 [color = lightyellow];
  21. 240-255: Dummy [color = lightgrey];
  22. #Send wrap around item
  23. 256-263: 8 [color = lightblue];
  24. 264-291: 28 [color = lightyellow];
  25. 292-295: 4 Free
  26. 296-303: 8 [color = lightblue];
  27. 304-319: 16 [color = lightyellow];
  28. 320-327: 8 [color = lightblue];
  29. 328-367: 40 [color = lightyellow];
  30. 368-383: Dummy [color = lightgrey];
  31. }