aboutsummaryrefslogtreecommitdiffstats
path: root/include/timestamp.h
diff options
context:
space:
mode:
authorztong <ztong@cs.unc.edu>2021-03-10 15:29:46 -0500
committerztong <ztong@cs.unc.edu>2021-03-10 15:29:46 -0500
commit22fa2c37519cdd1d7e261d4efe0d3aa57b96c716 (patch)
treea47385ba5748de35333ae5bd862ce108d97062fd /include/timestamp.h
parentbea119e8503107b92aae3bd26f2ceac104f58293 (diff)
Modified ft to support fz overhead tracingHEADmaster
Diffstat (limited to 'include/timestamp.h')
-rw-r--r--include/timestamp.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/timestamp.h b/include/timestamp.h
index 40050f7..8836071 100644
--- a/include/timestamp.h
+++ b/include/timestamp.h
@@ -49,8 +49,14 @@ const char* task_type2str(int task_type);
49#define TS_LOCK_START TIMESTAMP(30) 49#define TS_LOCK_START TIMESTAMP(30)
50#define TS_LOCK_END TIMESTAMP(31) 50#define TS_LOCK_END TIMESTAMP(31)
51 51
52#define TS_READ_LOCK_START TIMESTAMP(32) 52#define TS_FZ_ENTER_START TIMESTAMP(32)
53#define TS_READ_LOCK_END TIMESTAMP(33) 53#define TS_FZ_ENTER_END TIMESTAMP(33)
54
55#define TS_FZ_EXIT_START TIMESTAMP(34)
56#define TS_FZ_EXIT_END TIMESTAMP(35)
57
58//#define TS_READ_LOCK_START TIMESTAMP(32)
59//#define TS_READ_LOCK_END TIMESTAMP(33)
54 60
55#define TS_LOCK_SUSPEND TIMESTAMP(38) 61#define TS_LOCK_SUSPEND TIMESTAMP(38)
56#define TS_LOCK_RESUME TIMESTAMP(39) 62#define TS_LOCK_RESUME TIMESTAMP(39)
@@ -58,8 +64,8 @@ const char* task_type2str(int task_type);
58#define TS_UNLOCK_START TIMESTAMP(40) 64#define TS_UNLOCK_START TIMESTAMP(40)
59#define TS_UNLOCK_END TIMESTAMP(41) 65#define TS_UNLOCK_END TIMESTAMP(41)
60 66
61#define TS_READ_UNLOCK_START TIMESTAMP(42) 67//#define TS_READ_UNLOCK_START TIMESTAMP(42)
62#define TS_READ_UNLOCK_END TIMESTAMP(43) 68//#define TS_READ_UNLOCK_END TIMESTAMP(43)
63 69
64#define PID_RECORDS_RANGE 99 70#define PID_RECORDS_RANGE 99
65 71