就是获取当前系统时间
属性中
private static long LastReceiveHearPackage = System.currentTimeMillis();
System.currentTimeMillis()
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy年MM月dd日 HH:mm:ss ");
Date curDate = new Date(System.currentTimeMillis());//获取当前时间
String str = formatter.format(curDate);
最后
以上就是碧蓝小虾米最近收集整理的关于分析ANR具体哪个函数耗时,打时间戳是什么意思的全部内容,更多相关分析ANR具体哪个函数耗时内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复