projects
/
platform
/
core
/
api
/
sensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3e1c9c
)
Add timestamp in sensor-tool
72/276872/2
accepted/tizen/unified/20220628.133546
submit/tizen/20220627.091154
author
TaeminYeom
<taemin.yeom@samsung.com>
Mon, 27 Jun 2022 08:33:22 +0000
(17:33 +0900)
committer
TaeminYeom
<taemin.yeom@samsung.com>
Mon, 27 Jun 2022 08:39:18 +0000
(17:39 +0900)
Change-Id: I7916b26a6023cc2cff425d8398056f4cf33c810d
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
tools/sensor-tool.c
patch
|
blob
|
history
diff --git
a/tools/sensor-tool.c
b/tools/sensor-tool.c
index
b84917b
..
5ad4beb
100644
(file)
--- a/
tools/sensor-tool.c
+++ b/
tools/sensor-tool.c
@@
-30,9
+30,9
@@
static void sensor_callback(sensor_h sensor, sensor_event_s events[], int events
else
value_count = sensor_infos[num].value_num;
- for (int j = 0; j < value_count; ++j)
{
+ for (int j = 0; j < value_count; ++j)
g_print("%f ", events[i].values[j]);
- }
+ g_print("time: %lluus", events[i].timestamp);
}
g_print("\n");
}