LCOV - code coverage report
Current view: top level - ballet - fd_ballet_base.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 1 1 100.0 %
Date: 2026-06-30 05:50:37 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_ballet_fd_ballet_base_h
       2             : #define HEADER_fd_src_ballet_fd_ballet_base_h
       3             : 
       4             : #include "../util/fd_util.h"
       5             : 
       6             : /* FD_TPU_MTU: The maximum size of a Solana transaction in serialized
       7             :    wire-protocol form.  This does not count any network-level (e.g. UDP
       8             :    or QUIC) headers. */
       9      473856 : #define FD_TPU_MTU (1232UL)
      10             : 
      11             : /* FD_ALIGN: Default alignment according to platform:
      12             :     - avx512     => 64
      13             :     - avx        => 32
      14             :     - noarch128  => 16
      15             :     - noarch(64) =>  8 */
      16             : 
      17             :  #if FD_HAS_AVX512
      18             :  #define FD_ALIGN (64UL)
      19             :  #elif FD_HAS_AVX
      20             :  #define FD_ALIGN (32UL)
      21             :  #elif FD_HAS_INT128
      22             :  #define FD_ALIGN (16UL)
      23             :  #else
      24             :  #define FD_ALIGN (8UL)
      25             :  #endif
      26             : 
      27             :  /* FD_ALIGNED: shortcut to compiler aligned attribute with default alignment */
      28             :  #define FD_ALIGNED __attribute__((aligned(FD_ALIGN)))
      29             : 
      30             : //FD_PROTOTYPES_BEGIN
      31             : 
      32             : /* This is currently just a stub in anticipation of future common
      33             :    interoperability functionality */
      34             : 
      35             : //FD_PROTOTYPES_END
      36             : 
      37             : #endif /* HEADER_fd_src_ballet_fd_ballet_base_h */
      38             : 

Generated by: LCOV version 1.14