diff options
| author | chenzizhan <[email protected]> | 2023-08-08 15:28:03 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-08-08 15:28:03 +0800 |
| commit | fed58feb2c6cd088d96b89a9dd330288e79ce5f3 (patch) | |
| tree | 71a31572a3a86f91f4b94dbd6025a7cb02268c92 /src/fieldstat.c | |
| parent | 27cc0e2c3fee4a7843e59dd8087f7e5ce76ec5f1 (diff) | |
| parent | 1851db6031fbcdbd331a13629bd328454c74ff81 (diff) | |
Merge branch 'develop-version4' of git.mesalab.cn:MESA_framework/FieldStat into develop-version4v4.0.2
Diffstat (limited to 'src/fieldstat.c')
| -rw-r--r-- | src/fieldstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fieldstat.c b/src/fieldstat.c index 97759e9..2e42637 100644 --- a/src/fieldstat.c +++ b/src/fieldstat.c @@ -376,7 +376,7 @@ int fieldstat_register_hll(struct fieldstat *instance, int cube_id, const char * return append_metric_to_cube(cube, metric); } -int fieldstat_register_histogram(struct fieldstat *instance, int cube_id, const char *field_name, long long lowest_trackable_value, long long highest_trackable_value, int significant_figures) +int fieldstat_register_hist(struct fieldstat *instance, int cube_id, const char *field_name, long long lowest_trackable_value, long long highest_trackable_value, int significant_figures) { if (instance == NULL) { printf("ERR: fieldstat instance is NULL\n"); @@ -484,7 +484,7 @@ int fieldstat_hll_add(struct fieldstat *instance, int cube_id, int metric_id, in return 0; } -int fieldstat_histogram_record(struct fieldstat *instance, int cube_id, int metric_id, int cell_id, long long value) +int fieldstat_hist_record(struct fieldstat *instance, int cube_id, int metric_id, int cell_id, long long value) { FIELDSTAT_GENERAL_CHECK(instance, cube_id, metric_id, cell_id, METRIC_TYPE_HISTOGRAM); struct metric *metric = instance->cube[cube_id]->metrics[metric_id]; @@ -927,7 +927,7 @@ double fieldstat_hll_get(const struct fieldstat *instance, int cube_id, int metr return metric_hll_get(metric, cell_id); } -long long fieldstat_histogram_value_at_percentile(const struct fieldstat *instance, int cube_id, int metric_id, int cell_id, double percentile) +long long fieldstat_hist_value_at_percentile(const struct fieldstat *instance, int cube_id, int metric_id, int cell_id, double percentile) { const struct metric *metric = fieldstat_find_metric(instance, cube_id, metric_id); if (metric == NULL || metric_get_type(metric) != METRIC_TYPE_HISTOGRAM) { @@ -938,7 +938,7 @@ long long fieldstat_histogram_value_at_percentile(const struct fieldstat *instan return metric_histogram_value_at_percentile(metric, cell_id, percentile); } -long long fieldstat_histogram_count_le_value(const struct fieldstat *instance, int cube_id, int metric_id, int cell_id, long long value) +long long fieldstat_hist_count_le_value(const struct fieldstat *instance, int cube_id, int metric_id, int cell_id, long long value) { const struct metric *metric = fieldstat_find_metric(instance, cube_id, metric_id); if (metric == NULL || metric_get_type(metric) != METRIC_TYPE_HISTOGRAM) { |
