diff options
| author | chenzizhan <[email protected]> | 2024-01-05 14:03:57 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-01-05 14:03:57 +0800 |
| commit | 61614cbb85a55bf6b3657f36e852c715a93e9fea (patch) | |
| tree | ab34f0a217b3009132d21e34a927d978f3ccb2c6 /include | |
| parent | 4d97e5cb6b188a06eaa1fb1d1dd4b762d77e87f2 (diff) | |
delete unused codes and annotes
Diffstat (limited to 'include')
| -rw-r--r-- | include/fieldstat/fieldstat.h | 3 | ||||
| -rw-r--r-- | include/fieldstat/fieldstat_easy.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h index e5c14e1..b0e679a 100644 --- a/include/fieldstat/fieldstat.h +++ b/include/fieldstat/fieldstat.h @@ -125,9 +125,6 @@ int fieldstat_register_hist(struct fieldstat *instance, const char *metric_name, */ int fieldstat_counter_incrby(struct fieldstat *instance, int cube_id, int metric_id, const struct fieldstat_tag *tags, size_t n_tag, long long increment); -int fieldstat_counter_incrby_batch(struct fieldstat *instance, - int cube_id, int metric_ids[], const struct fieldstat_tag *tags, size_t n_tag, long long increments[], int n_metric); - /* * @brief let the value of counter metric equal to value. Other annotations refer to fieldstat_counter_incrby. * @return Refer to fieldstat_counter_incrby. What's more, be cautious to call this function if the metric is a primary metric of a topk cube, diff --git a/include/fieldstat/fieldstat_easy.h b/include/fieldstat/fieldstat_easy.h index d49470f..92edb91 100644 --- a/include/fieldstat/fieldstat_easy.h +++ b/include/fieldstat/fieldstat_easy.h @@ -50,9 +50,9 @@ int fieldstat_easy_register_histogram(struct fieldstat_easy *fse, const char *na void fieldstat_easy_output(struct fieldstat_easy *fse, char **buff, size_t *buff_len); void fieldstat_easy_output_array(struct fieldstat_easy *fse, char ***json_objects, size_t *n_object); /* - Do fieldstat_easy_output_array and then reset the instance. + Call fieldstat_easy_output_array and then reset the instance. Will fail and return -1 if fieldstat_easy_enable_auto_output is called, since the behavior is hard to define. Return 0 if success. - The thread will be blocked until the output is finished. + The thread will be blocked until output is finished. */ int fieldstat_easy_output_array_and_reset(struct fieldstat_easy *fse, char ***json_objects, size_t *n_object); /* |
