LCOV - code coverage report
Current view: top level - flamenco/runtime/program - fd_compute_budget_program.h (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 6 6 100.0 %
Date: 2024-11-13 11:58:15 Functions: 0 0 -

          Line data    Source code
       1             : #ifndef HEADER_fd_src_flamenco_runtime_program_fd_compute_budget_program_h
       2             : #define HEADER_fd_src_flamenco_runtime_program_fd_compute_budget_program_h
       3             : 
       4             : #include "../../fd_flamenco_base.h"
       5             : #include "../context/fd_exec_instr_ctx.h"
       6             : 
       7             : /* FIXME: put these elsewhere */
       8         108 : #define FD_MIN_HEAP_FRAME_BYTES (32 * 1024)     /* Min heap size */
       9         114 : #define FD_MAX_HEAP_FRAME_BYTES (256 * 1024)    /* Max heap size */
      10          48 : #define FD_HEAP_FRAME_BYTES_GRANULARITY (1024)  /* Heap frame requests must be a multiple of this number */
      11        6117 : #define FD_MAX_COMPUTE_UNIT_LIMIT (1400000)     /* Max compute unit limit */
      12             : 
      13        6327 : #define FD_COMPUTE_BUDGET_PRIORITIZATION_FEE_TYPE_COMPUTE_UNIT_PRICE (0)
      14        6054 : #define FD_COMPUTE_BUDGET_PRIORITIZATION_FEE_TYPE_DEPRECATED         (1)
      15             : 
      16             : FD_PROTOTYPES_BEGIN
      17             : 
      18             : int fd_executor_compute_budget_program_execute_instructions( fd_exec_txn_ctx_t * ctx, fd_rawtxn_b_t const * txn_raw );
      19             : 
      20             : int fd_compute_budget_program_execute( fd_exec_instr_ctx_t * ctx );
      21             : 
      22             : FD_PROTOTYPES_END
      23             : 
      24             : #endif /* HEADER_fd_src_flamenco_runtime_program_fd_compute_budget_program_h */

Generated by: LCOV version 1.14