linux驱动里获取时间差
发布日期:2021-06-30 18:52:37
浏览次数:3
分类:技术文章
本文共 767 字,大约阅读时间需要 2 分钟。
--- a/android-lte/kernel/drivers/gosodrv/camera/ov8825_v4l2.c+++ b/android-lte/kernel/drivers/gosodrv/camera/ov8825_v4l2.c@@ -14,6 +14,16 @@ #include#include "msm_sensor.h" #include "msm.h"+#include +#include +#include #define SENSOR_NAME "ov8825" #define PLATFORM_DRIVER_NAME "msm_camera_ov8825" #define ov8825_obj ov8825_##obj@@ -896,11 +906,20 @@ int32_t ov8825_sensor_i2c_probe(struct i2c_client *client, int32_t ov8825_sensor_power_up(struct msm_sensor_ctrl_t *s_ctrl) { int32_t rc = 0;+ struct timex txc;+ struct rtc_time tm;+ struct msm_camera_sensor_info *info = s_ctrl->sensordata;+ struct timeval tpstart,tpend;+ unsigned int timeuse,timevse;+ do_gettimeofday(&tpstart
转载地址:https://linus.blog.csdn.net/article/details/43192327 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
网站不错 人气很旺了 加油
[***.192.178.218]2024年04月12日 01时57分39秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
【学习笔记】对vanilla的一些个人理解
2019-04-30
【解决错误】The size of tensor a (8) must match the size of tensor b (64) at non-singleton dimension 1
2019-04-30
word文档中实现目录索引中标题加粗,前导符和页码不加粗
2019-04-30
“学硕” VS “专硕”
2019-04-30
【NLP学习笔记】知识图谱阅读笔记及其心得
2019-04-30
【工具使用】新版CSDN-markdown编辑器使用指南
2019-04-30
《知识图谱》阅读笔记(六)
2019-04-30
【NLP学习笔记】中文分词(Word Segmentation,WS)
2019-04-30
【NLP学习笔记】词性标注(Part-of-speech Tagging, POS)
2019-04-30
《知识图谱》阅读笔记(七)
2019-04-30
《知识图谱》阅读笔记(九)
2019-04-30
【超越白皮书7】你需要知道关于ETH2.0的几个事实
2019-04-30
超越白皮书8:穿云而过的闪电网络
2019-04-30
AMM做市无常损失对冲分析系列(一)—— 损益及期权对冲模型构建
2019-04-30
JS中document对象和window对象有什么区别
2019-04-30
【python练习题】遍历1
2019-04-30