From bf4c060bd5cb4d190824dc7b112a09f3caabcbdf Mon Sep 17 00:00:00 2001 From: chenzizhan Date: Sat, 7 Oct 2023 11:32:17 +0800 Subject: get max cell id -> get max sampling --- include/fieldstat/fieldstat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/fieldstat') diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h index d184bc4..0e48098 100644 --- a/include/fieldstat/fieldstat.h +++ b/include/fieldstat/fieldstat.h @@ -222,9 +222,9 @@ struct fieldstat_tag_list *fieldstat_get_shared_tags(const struct fieldstat *ins int fieldstat_find_cube(const struct fieldstat *instance, const struct fieldstat_tag *shared_tags, size_t n_shared_tags); /* - get the parameter max_n_cell of fieldstat_create_cube. -1 is a valid value, meaning cube has no metric. Return FS_ERR_INVALID_CUBE_ID if cube_id is invalid. + get the cell numbers in a cube. Return FS_ERR_INVALID_CUBE_ID if cube_id is invalid. */ -int fieldstat_get_max_cell_id(const struct fieldstat *instance, int cube_id); +int fieldstat_get_used_sampling(const struct fieldstat *instance, int cube_id); /* * @brief Get the value of a metric of a cell. -- cgit v1.2.3