Implemented more efficient and memory savvy RSI

This commit is contained in:
Luca Deri
2021-02-05 12:38:41 +01:00
parent 60b58dbd67
commit 8dd7716ae5
4 changed files with 66 additions and 26 deletions
+1 -1
View File
@@ -1391,7 +1391,7 @@ extern "C" {
/* ******************************* */
void ndpi_init_rsi(struct ndpi_rsi_struct *s, u_int16_t num_learning_values);
int ndpi_alloc_rsi(struct ndpi_rsi_struct *s, u_int16_t num_learning_values);
void ndpi_free_rsi(struct ndpi_rsi_struct *s);
float ndpi_rsi_add_value(struct ndpi_rsi_struct *s, const u_int32_t value);