linux驱动里获取时间差
发布日期:2021-06-30 18:52:37
浏览次数:2
分类:技术文章
本文共 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 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
哈哈,博客排版真的漂亮呢~
[***.90.31.176]2024年04月24日 08时52分00秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
pip install git+
2019-04-30
UGC 用户产生内容
2019-04-30
ranger
2019-04-30
slurm
2019-04-30
xfce4
2019-04-30
xrdp
2019-04-30
Raft算法
2019-04-30
Python计算文本BLEU分数
2019-04-30
swap内存(linux)
2019-04-30
人脸au
2019-04-30
torch.distributed 分布式
2019-04-30
OpenMP编程模型(OMP)
2019-04-30
混合精度训练(FP16 & FP32)
2019-04-30
PyPy
2019-04-30
打印CSDN文章
2019-04-30
MATLAB与CUDA
2019-04-30
Linux png转jpg (convert命令)
2019-04-30
NAS (Network Attached Storage 网络附属存储)
2019-04-30
Ubuntu更新后终端中字体的颜色全是白色
2019-04-30
Ninja
2019-04-30