diff options
| author | tanaka takashi <isazaka@gmail.com> | 2026-07-04 14:54:45 +0900 |
|---|---|---|
| committer | tanaka takashi <isazaka@gmail.com> | 2026-07-04 14:54:45 +0900 |
| commit | 1efecaef1f867cb218366e2b4ab4b901fdd2835f (patch) | |
| tree | 3080a3d80a1a0671e8e82819d3f785465aace162 /src/sys/system.h | |
| parent | 34e00404e9561dcaf8d2d99df7470757a4fee915 (diff) | |
途中経過コミット
Diffstat (limited to 'src/sys/system.h')
| -rw-r--r-- | src/sys/system.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 { |
