From 1efecaef1f867cb218366e2b4ab4b901fdd2835f Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Sat, 4 Jul 2026 14:54:45 +0900 Subject: 途中経過コミット MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sys/system.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/sys/system.h') diff --git a/src/sys/system.h b/src/sys/system.h index b526ec5..0947205 100644 --- a/src/sys/system.h +++ b/src/sys/system.h @@ -40,6 +40,18 @@ typedef struct tiny_sys_arguments char **values; } tiny_sys_arguments_t; +typedef struct tiny_sys_io_counters +{ + uint64_t write_bytes; + uint64_t write_calls; + uint64_t flush_calls; + uint64_t truncate_calls; + uint64_t replace_calls; +} tiny_sys_io_counters_t; + +void tiny_sys_io_counters_reset(void); +void tiny_sys_io_counters_get(tiny_sys_io_counters_t *counters); + /* Internal test seam. A call index of 1 fails the next matching operation. */ typedef enum tiny_sys_test_operation { -- cgit v1.2.3