diff options
| author | chenzizhan <[email protected]> | 2023-10-07 11:32:17 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-10-07 11:32:17 +0800 |
| commit | bf4c060bd5cb4d190824dc7b112a09f3caabcbdf (patch) | |
| tree | 96e27906c26ad7615ce3185bd3f8b4331b6ee679 /include | |
| parent | 1a859ba545ad04b8262ede9c2a02a3fbceed062f (diff) | |
get max cell id -> get max sampling
Diffstat (limited to 'include')
| -rw-r--r-- | include/fieldstat/fieldstat.h | 4 |
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. |
