diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-04-05 19:04:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-04-05 19:04:34 +0000 |
commit | 2c2378f0048917b93ee35c85a36b49b65045c9a8 (patch) | |
tree | efa3b0b072d535c1ce5382558c0551ec7a6f8a71 /pjlib/src/pjlib-test | |
parent | 54671b6238eef872195153d5720a44f3428c5eaf (diff) |
Don't use rdtsc for high res timestamp on Linux as it's highly inaccurate (for now)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@387 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pjlib-test')
-rw-r--r-- | pjlib/src/pjlib-test/timestamp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/src/pjlib-test/timestamp.c b/pjlib/src/pjlib-test/timestamp.c index 4207d951..48435406 100644 --- a/pjlib/src/pjlib-test/timestamp.c +++ b/pjlib/src/pjlib-test/timestamp.c @@ -99,6 +99,9 @@ static int timestamp_accuracy() "%d msec", (pj_uint32_t)(diff * 1000000 / freq.u64), msec)); + } else { + PJ_LOG(3,(THIS_FILE, "....good. Timestamp is accurate down to" + " nearest usec.")); } return 0; |