diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-11 21:54:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-11 21:54:30 +0200 |
commit | c966c39d9c0352ccb48469f68fb57c1d13dce4c7 (patch) | |
tree | 35ef69fea2533d979042c5d25e8ddb419f74b56c /libhashsum.h | |
parent | m doc (diff) | |
download | libhashsum-c966c39d9c0352ccb48469f68fb57c1d13dce4c7.tar.gz libhashsum-c966c39d9c0352ccb48469f68fb57c1d13dce4c7.tar.bz2 libhashsum-c966c39d9c0352ccb48469f68fb57c1d13dce4c7.tar.xz |
Add relative_performance
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libhashsum.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libhashsum.h b/libhashsum.h index ea31b9d..7673a74 100644 --- a/libhashsum.h +++ b/libhashsum.h @@ -481,6 +481,18 @@ struct libhashsum_hasher { unsigned char hash_excess_bits; /* TODO test */ /** + * Estimate, approximate performance relative to + * some unspecified reference point + * + * Higher is faster + * + * If the value is zero, no estimate is available + * + * @since 1.1 + */ + uint64_t relative_performance; /* TODO man */ + + /** * Update the hash state given additional * input data * |