aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-05 23:19:19 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-05 23:19:19 -0500
commit5ba03d45f4b90c25dd5537e0b173568274fd2a14 (patch)
tree6bd51af0b98a3f54d6d0f6de69ba04060b58d021
parent1fca88876999299011a7ef21a3f99ad984276f61 (diff)
Add TS_RELEASE_LATENCY
-rw-r--r--include/timestamp.h2
-rw-r--r--src/timestamp.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/timestamp.h b/include/timestamp.h
index a31f2ea..46fd8bd 100644
--- a/include/timestamp.h
+++ b/include/timestamp.h
@@ -50,4 +50,6 @@ const char* event2str(cmd_t id);
50#define TS_SEND_RESCHED_START TIMESTAMP(190) 50#define TS_SEND_RESCHED_START TIMESTAMP(190)
51#define TS_SEND_RESCHED_END TIMESTAMP(191) 51#define TS_SEND_RESCHED_END TIMESTAMP(191)
52 52
53#define TS_RELEASE_LATENCY TIMESTAMP(2000)
54
53#endif 55#endif
diff --git a/src/timestamp.c b/src/timestamp.c
index 4c04ce7..f597b87 100644
--- a/src/timestamp.c
+++ b/src/timestamp.c
@@ -22,6 +22,7 @@ static struct event_name event_table[] =
22 EVENT(PLUGIN_TICK), 22 EVENT(PLUGIN_TICK),
23 EVENT(CXS), 23 EVENT(CXS),
24 EVENT(SEND_RESCHED), 24 EVENT(SEND_RESCHED),
25 {"RELEASE_LATENCY", TS_RELEASE_LATENCY},
25}; 26};
26 27
27int str2event(const char* str, cmd_t *id) 28int str2event(const char* str, cmd_t *id)