X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=include%2Fhfta%2Fhfta_udaf.h;h=67dd794de4140953f4a4e073fced1a3746009344;hb=b39da83c4c942a0fb301471a0bc127ae3c32bce2;hp=d97e0ddb7ed0c7ba856689d20602cf3e026a916e;hpb=834803ff24ff04d1f952ef2783838e964d961b87;p=com%2Fgs-lite.git diff --git a/include/hfta/hfta_udaf.h b/include/hfta/hfta_udaf.h index d97e0dd..67dd794 100644 --- a/include/hfta/hfta_udaf.h +++ b/include/hfta/hfta_udaf.h @@ -94,6 +94,26 @@ void FIRST_STR_hfta_HFTA_AGGR_OUTPUT_(vstring* res, vstring* scratch); void FIRST_STR_hfta_HFTA_AGGR_DESTROY_(vstring* scratch); // last aggregate +// hfta only +void LAST_HFTA_AGGR_INIT_(gs_uint32_t* scratch); +void LAST_HFTA_AGGR_REINIT_(gs_uint32_t* scratch); +void LAST_HFTA_AGGR_UPDATE_(gs_uint32_t* scratch, gs_uint32_t val); +void LAST_HFTA_AGGR_OUTPUT_(gs_uint32_t* res, gs_uint32_t* scratch); +void LAST_HFTA_AGGR_DESTROY_(gs_uint32_t* scratch); + +void LAST_ULL_HFTA_AGGR_INIT_(gs_uint64_t* scratch); +void LAST_ULL_HFTA_AGGR_REINIT_(gs_uint64_t* scratch); +void LAST_ULL_HFTA_AGGR_UPDATE_(gs_uint64_t* scratch, gs_uint64_t val); +void LAST_ULL_HFTA_AGGR_OUTPUT_(gs_uint64_t* res, gs_uint64_t* scratch); +void LAST_ULL_HFTA_AGGR_DESTROY_(gs_uint64_t* scratch); + +void LAST_STR_HFTA_AGGR_INIT_(vstring* scratch); +void LAST_STR_HFTA_AGGR_REINIT_(vstring* scratch); +void LAST_STR_HFTA_AGGR_UPDATE_(vstring* scratch, vstring* val); +void LAST_STR_HFTA_AGGR_OUTPUT_(vstring* res, vstring* scratch); +void LAST_STR_HFTA_AGGR_DESTROY_(vstring* scratch); + +// hfta/lfta split void LAST_hfta_HFTA_AGGR_INIT_(gs_uint32_t* scratch); void LAST_hfta_HFTA_AGGR_REINIT_(gs_uint32_t* scratch); void LAST_hfta_HFTA_AGGR_UPDATE_(gs_uint32_t* scratch, gs_uint32_t val);