diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cells/heavy_keeper.c | 8 | ||||
| -rw-r--r-- | src/cube.c | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/cells/heavy_keeper.c b/src/cells/heavy_keeper.c index 82fe4be..19e7fb1 100644 --- a/src/cells/heavy_keeper.c +++ b/src/cells/heavy_keeper.c @@ -14,10 +14,10 @@ #include "mpack/mpack.h" #include "xxhash/xxhash.h" // XXHASH is faster -#define HASH_FUNCTION(keyptr, keylen, hashv) \ - do { \ - hashv = XXH3_64bits(keyptr, keylen); \ - } while (0) +// #define HASH_FUNCTION(keyptr, keylen, hashv) \ +// do { \ +// hashv = XXH3_64bits(keyptr, keylen); \ +// } while (0) #include "uthash.h" @@ -1017,7 +1017,6 @@ int cube_counter_incrby_batch(struct cube *cube, const int metric_ids[], const s const struct metric_manifest *manifest = metric_manifest_manager_get_by_id(cube->manifest_manager, metric_ids[i]); struct metric *metric = add_or_find_metric_in_cell(manifest, cell_data); - printf("metric: %d, increment: %lld\n", metric_ids[i], increments[i]); metric_counter_incrby(metric, increments[i]); } |
