summaryrefslogtreecommitdiff
path: root/blktrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'blktrace.h')
-rw-r--r--blktrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/blktrace.h b/blktrace.h
index 6047048..cb4ee3b 100644
--- a/blktrace.h
+++ b/blktrace.h
@@ -18,6 +18,7 @@
#define DOUBLE_TO_NANO_ULL(d) ((unsigned long long)((d) * 1000000000))
#define min(a, b) ((a) < (b) ? (a) : (b))
+#define max(a, b) ((a) > (b) ? (a) : (b))
#define t_sec(t) ((t)->bytes >> 9)
#define t_kb(t) ((t)->bytes >> 10)