// SPDX-License-Identifier: GPL-3.0-or-later // // This file is part of CProof. // See LICENSE for the full GPLv3 text and the special OpenSSL linking exception. #ifndef BENCH_CSV_H #define BENCH_CSV_H #include #include // Append a single bench row to `path`. Creates the file with a header on // first call. Format: // scenario,volume,bytes,lines,wall_ms,peak_rss_kb,note // All commas/newlines in `scenario` and `note` are stripped to keep the CSV // trivially parseable. void bench_csv_append(const char* path, const char* scenario, const char* volume, uint64_t bytes, uint64_t lines, double wall_ms, long peak_rss_kb, const char* note); #endif