This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-maat/src/inc_internal/maat_stat.h
2023-05-15 07:24:36 +00:00

35 lines
949 B
C

/*
**********************************************************************************************
* File: maat_stat.h
* Description: maat statistics
* Authors: Liu WenTan <liuwentan@geedgenetworks.com>
* Date: 2022-10-31
* Copyright: (c) Since 2022 Geedge Networks, Ltd. All rights reserved.
***********************************************************************************************
*/
#ifndef _MAAT_STAT_H_
#define _MAAT_STAT_H_
#ifdef __cplusplus
extern "C"
{
#endif
#include "maat_rule.h"
struct maat_stat *maat_stat_new(const char *stat_file, size_t max_thread_num,
struct log_handle *logger);
void maat_stat_free(struct maat_stat *stat);
int maat_stat_init(struct maat_stat *stat, struct table_manager *tbl_mgr,
struct maat_garbage_bin *garbage_bin);
void maat_stat_output(struct maat_stat *stat, long long maat_version, int perf_on);
#ifdef __cplusplus
}
#endif
#endif