summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2023-10-07 11:32:17 +0800
committerchenzizhan <[email protected]>2023-10-07 11:32:17 +0800
commitbf4c060bd5cb4d190824dc7b112a09f3caabcbdf (patch)
tree96e27906c26ad7615ce3185bd3f8b4331b6ee679 /include
parent1a859ba545ad04b8262ede9c2a02a3fbceed062f (diff)
get max cell id -> get max sampling
Diffstat (limited to 'include')
-rw-r--r--include/fieldstat/fieldstat.h4
1 files changed, 2 insertions, 2 deletions
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.