diff options
| author | chenzizhan <[email protected]> | 2024-10-16 15:29:28 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-10-16 15:29:28 +0800 |
| commit | 7a81c67ec9534772fc3041a8ba9212f11038627d (patch) | |
| tree | 8c16833d6d7516b3d776db656d565e66ad28d450 /include/fieldstat/fieldstat.h | |
| parent | 0881c354b6ea011f6213c0f0af237e9260ca798a (diff) | |
fieldstat_easy_counter_incrby_batch
Diffstat (limited to 'include/fieldstat/fieldstat.h')
| -rw-r--r-- | include/fieldstat/fieldstat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h index f47fb2d..b539ab8 100644 --- a/include/fieldstat/fieldstat.h +++ b/include/fieldstat/fieldstat.h @@ -130,8 +130,7 @@ int fieldstat_counter_incrby(struct fieldstat *instance, int cube_id, int metric * @param n_metrics: the length of metric_ids and increments. * @return Error codes. Or just assert fail if the parameters are invalid. */ -int fieldstat_counter_incrby_batch(struct fieldstat *instance, int cube_id, const struct field *cell_dimensions, size_t n_dimensions, int metric_ids[], long long increments[], size_t n_metrics); - +int fieldstat_counter_incrby_batch(struct fieldstat *instance, int cube_id, const struct field *cell_dimensions, size_t n_dimensions, const int metric_ids[], const long long increments[], size_t n_metrics); /* * @brief let the value of counter metric equal to value. Must be called on non-primary metric. Other annotations refer to fieldstat_counter_incrby. |
