diff options
| author | chenzizhan <[email protected]> | 2023-06-26 17:20:36 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-06-26 17:20:36 +0800 |
| commit | 75f0ffdfbccd96cdb911fa6c67aae32cccec2c78 (patch) | |
| tree | 94d60b07a4a8adbc8aad7a842a0d80b78d674999 /include/fieldstat/fieldstat_exporter.h | |
| parent | e1ba0d8d29e6b8456a8e8a7f2a1de4bfd9c0fc7f (diff) | |
export by cjson, todo: iter for topk and test
Diffstat (limited to 'include/fieldstat/fieldstat_exporter.h')
| -rw-r--r-- | include/fieldstat/fieldstat_exporter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fieldstat/fieldstat_exporter.h b/include/fieldstat/fieldstat_exporter.h index 4d446b7..57d6c6f 100644 --- a/include/fieldstat/fieldstat_exporter.h +++ b/include/fieldstat/fieldstat_exporter.h @@ -1,5 +1,6 @@ #pragma once #include <stdio.h> + #ifdef __cplusplus extern "C" { @@ -61,6 +62,9 @@ int fieldstat_disable_background_thread(struct fieldstat_instance *instance); */ int fieldstat_set_output_interval(struct fieldstat_instance *instance, int milliseconds); +void fieldstat_export_to_json_arr(struct fieldstat *instance, char ***out, size_t *n_out); + + #ifdef __cplusplus } #endif
\ No newline at end of file |
