summaryrefslogtreecommitdiff
path: root/src/tests/eeze
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-04-16 13:16:55 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2013-04-16 13:21:28 +0100
commit763bdd161814ea885e754585dc388737cf19cf42 (patch)
treecb7a4398c0293c9aef03bff57b9b21bde9c44fb5 /src/tests/eeze
parent3ccc7e7cf825d111b709bdec8574f3541d08f350 (diff)
eeze/sensor: Switch timestamp to relative values coming.
Switch from absolut microseconds since epoch to a monotonic clock with realtive values. Switch from unsigned long long to double. This aligns it with how we present time in efl. ecore_time_get is used when possible. For the tizen modules we convert the the epoch timestamp we get into a double. This is still a working monotone clock source. As this will be released the first time with 1.8 we don't have any API break here.
Diffstat (limited to 'src/tests/eeze')
-rw-r--r--src/tests/eeze/eeze_suite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eeze/eeze_suite.c b/src/tests/eeze/eeze_suite.c
index 71c7213bbd..904dd2597e 100644
--- a/src/tests/eeze/eeze_suite.c
+++ b/src/tests/eeze/eeze_suite.c
@@ -363,7 +363,7 @@ START_TEST(eeze_test_sensor_read)
363 int ret = 0; 363 int ret = 0;
364 float x, y, z; 364 float x, y, z;
365 int acc; 365 int acc;
366 unsigned long long timestamp; 366 double timestamp;
367 Eina_Bool rc = EINA_FALSE; 367 Eina_Bool rc = EINA_FALSE;
368 368
369 ecore_init(); 369 ecore_init();
@@ -499,7 +499,7 @@ event_cb(void *data EINA_UNUSED, int ev_type EINA_UNUSED, void *event)
499{ 499{
500 Eeze_Sensor_Obj *sens = NULL; 500 Eeze_Sensor_Obj *sens = NULL;
501 int acc; 501 int acc;
502 unsigned long long timestamp; 502 double timestamp;
503 Eina_Bool rc = EINA_FALSE; 503 Eina_Bool rc = EINA_FALSE;
504 504
505 sens = event; 505 sens = event;