summaryrefslogtreecommitdiffstats
path: root/src/fuse/connection.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-02-09 19:19:05 +0100
committerSimon Rettberg2019-02-09 19:19:05 +0100
commit325b8b0e5b79ee939546a6dcf2b8ad58f52f36c6 (patch)
tree948c7135d90391cb73bd0e479d35b8334f143895 /src/fuse/connection.h
parent[SHARED] More timing helpers (diff)
downloaddnbd3-325b8b0e5b79ee939546a6dcf2b8ad58f52f36c6.tar.gz
dnbd3-325b8b0e5b79ee939546a6dcf2b8ad58f52f36c6.tar.xz
dnbd3-325b8b0e5b79ee939546a6dcf2b8ad58f52f36c6.zip
[FUSE] Use shared/timing.* instead of nowMilli/Micro
Diffstat (limited to 'src/fuse/connection.h')
-rw-r--r--src/fuse/connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fuse/connection.h b/src/fuse/connection.h
index 929777a..c919d95 100644
--- a/src/fuse/connection.h
+++ b/src/fuse/connection.h
@@ -2,6 +2,7 @@
#define _CONNECTION_H_
#include "../shared/fdsignal.h"
+#include "../shared/timing.h"
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
@@ -12,7 +13,7 @@ typedef struct _dnbd3_async {
struct _dnbd3_async *next; // Next in this linked list (provate field, not set by caller)
dnbd3_signal_t* signal; // Used to signal the caller
char* buffer; // Caller-provided buffer to be filled
- uint64_t time; // When request was put on wire, 0 if not measuring
+ ticks time; // When request was put on wire, 0 if not measuring
uint64_t offset;
uint32_t length;
bool finished; // Will be set to true if the request has been handled