Module: sems
Branch: master
Commit: 3887d350e0a194ec52dfb63432e6d90576cd26ee
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=3887d350e0a194ec52dfb63432e6d90576cd26ee

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Fri Mar 15 13:50:03 2013 +0100

added definition for timer ticks

This is useful for computations related to wheeltimer::wallclock.

---

 core/AmAppTimer.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/core/AmAppTimer.h b/core/AmAppTimer.h
index f15d65b..6b532a2 100644
--- a/core/AmAppTimer.h
+++ b/core/AmAppTimer.h
@@ -35,6 +35,8 @@ using std::string;
 #include <map>
 #include <set>
 
+#define TICKS_PER_SEC (1000000 / TIMER_RESOLUTION)
+
 class app_timer;
 class direct_app_timer;
 

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to