LCOV - code coverage report
Current view: top level - flamenco/runtime - fd_txncache_shmem.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 1 2 50.0 %
Date: 2025-10-13 04:42:14 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_flamenco_runtime_fd_txncache_shmem_h
       2             : #define HEADER_fd_src_flamenco_runtime_fd_txncache_shmem_h
       3             : 
       4             : #include "../../util/fd_util_base.h"
       5             : 
       6           3 : #define FD_TXNCACHE_SHMEM_ALIGN (128UL)
       7             : 
       8           0 : #define FD_TXNCACHE_SHMEM_MAGIC (0xF17EDA2CE58CC4E0) /* FIREDANCE SMCCHE V0 */
       9             : 
      10             : typedef struct { ushort val; } fd_txncache_fork_id_t;
      11             : 
      12             : struct fd_txncache_shmem_private;
      13             : typedef struct fd_txncache_shmem_private fd_txncache_shmem_t;
      14             : 
      15             : FD_PROTOTYPES_BEGIN
      16             : 
      17             : FD_FN_CONST ulong
      18             : fd_txncache_shmem_align( void );
      19             : 
      20             : FD_FN_CONST ulong
      21             : fd_txncache_shmem_footprint( ulong max_live_slots,
      22             :                              ulong max_txn_per_slot );
      23             : 
      24             : void *
      25             : fd_txncache_shmem_new( void * shmem,
      26             :                        ulong  max_live_slots,
      27             :                        ulong  max_txn_per_slot );
      28             : 
      29             : fd_txncache_shmem_t *
      30             : fd_txncache_shmem_join( void * shtc );
      31             : 
      32             : FD_PROTOTYPES_END
      33             : 
      34             : #endif /* HEADER_fd_src_flamenco_runtime_fd_txncache_shmem_h */

Generated by: LCOV version 1.14