diff options
| author | chenzizhan <[email protected]> | 2024-07-04 15:05:36 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-07-04 15:05:36 +0800 |
| commit | da2b236902f842903bd7643e824454eff286a15d (patch) | |
| tree | f04dea546d4f2ef48c97e8dc2c5f22fa9446079d /include | |
| parent | f2b84f92d479dc37c835932286c00c1cbbb5c523 (diff) | |
move cube manager to cube.c; cube manager is now a bidict
Diffstat (limited to 'include')
| -rw-r--r-- | include/fieldstat/fieldstat.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h index a6101a8..93ac2b8 100644 --- a/include/fieldstat/fieldstat.h +++ b/include/fieldstat/fieldstat.h @@ -85,11 +85,6 @@ int fieldstat_cube_set_primary_metric(struct fieldstat *instance, int cube_id, i int fieldstat_destroy_cube(struct fieldstat *instance, int cube_id); /* - * @brief get the cube_version of the cube of cube_id. - * @return cube_version if success. FS_ERR_NULL_HANDLER or FS_ERR_INVALID_CUBE_ID if fail. -*/ -long long fieldstat_get_cube_version(const struct fieldstat *instance, int cube_id); -/* * @brief add a metric to the cube of cube_id. One metric may be associated with different cells. * @param metric_name: name of the metric. Cannot be NULL. Must be unique. * @return metric id>=0 if success. If failed, return FS_ERR_NULL_HANDLER, FS_ERR_INVALID_KEY(when metric_name is not unique in this cube) @@ -158,10 +153,6 @@ int fieldstat_hist_record(struct fieldstat *instance, int cube_id, int metric_id Note that the cell record won't be deleted at once, they just seem to be deleted. The cell record will be deleted when they are not used since the last reset and until the next reset. */ void fieldstat_reset(struct fieldstat *instance); -/* - version is increased by 1 when we call fieldstat_reset. -*/ -unsigned long fieldstat_get_version(const struct fieldstat *instance); /* @brief Merge the instance. The registered cubes and metrics are merged even if there are no cells added. |
