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:
43c00ee
)
Add timestamp in sensor-tool
77/276877/1
accepted/tizen_6.5_unified
tizen_6.5
accepted/tizen/6.5/unified/20220628.133442
submit/tizen_6.5/20220627.091228
author
TaeminYeom
<taemin.yeom@samsung.com>
Mon, 27 Jun 2022 08:33:22 +0000
(17:33 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 27 Jun 2022 08:40:30 +0000
(08:40 +0000)
Change-Id: I7916b26a6023cc2cff425d8398056f4cf33c810d
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
(cherry picked from commit
e397a4e2ee13b667aa1a6733a4011fa753aba79f
)
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");
}