之前遇到一个耗电问题,最后发现是/proc/sys/kernel/sched_boost节点设置异常,一直处于boost状态。导致所有场景功耗上升。 现在总结一下sched_boost的相关知识。 Sched_Boost sched_boost主要是通过影响Task placement的方式,来进行 ...
分类:
其他好文 时间:
2020-04-27 15:03:11
阅读次数:
89
boost serialization it has 2 modes: intrusive and non intrusive intrusive mode non intrusive mode How does boost impl the 2 modes? A: By function over ...
分类:
其他好文 时间:
2020-04-21 15:28:44
阅读次数:
71
contos7安装mysql-5.7.28源代码 首先查看支持的版本:https://www.mysql.com/support/supportedplatforms/database.html (mysql-5.7.28.tar.gz)(mysql-boost-5.7.28.tar.gz)第一种没 ...
分类:
数据库 时间:
2020-04-21 14:54:59
阅读次数:
113
关联issue https://github.com/alibaba/flutter_boost/issues/613 1、Flutter侧可以用Navigator进行跳转,这样它们实际上是放在一个容器里的,你想关闭所有页面的时候直接用FlutterBoost.close 会移除所有Flutter页 ...
分类:
其他好文 时间:
2020-04-18 19:02:31
阅读次数:
451
在c++中进行动态内存申请的过程中,容易忘记delete, 即使自己没有忘记,但是因为有异常的抛出,所以也不能保证内存进行完全的释放。 auto_ptr智能指针 它只是众多的智能指针中的一种,是破坏性的指针。 使用std::auto_ptr智能指针 使用boost智能指针 使用atl框架中的智能指针 ...
分类:
其他好文 时间:
2020-04-18 14:08:15
阅读次数:
60
为什么要阅读Redis源码? 主要原因就是『简洁』。如果你用源码编译过Redis,你会发现十分轻快,一步到位。其他语言的开发者可能不会了解这种痛,作为C/C++程序员,如果你源码编译安装过Nginx/Grpc/Thrift/Boost等开源产品,你会发现有很多依赖,而依赖本身又有依赖,十分痛苦。通常 ...
分类:
其他好文 时间:
2020-04-16 15:36:31
阅读次数:
67
在manifest中注册BoostFlutterActivity报错:Installation did not succeed.The application could not be installed: INSTALL_FAILED_USER_RESTRICTEDInstallation via ...
分类:
其他好文 时间:
2020-04-16 13:21:38
阅读次数:
153
一、异步任务 测试如下 1、不是异步方法的时候: 进行等待三秒再进行应答 @Service public class AsynService { public void hello(){ try { Thread.sleep(3000); } catch (InterruptedException ...
分类:
编程语言 时间:
2020-04-15 00:16:54
阅读次数:
72
1. 安装运行时包 $ sudo apt-get install dbus -y2. 安装readline库 $ apt-get cache search libreadline (找出当前发行版的libreadline包名) $ sudo apt-get install libreadline7 ...
分类:
系统相关 时间:
2020-04-12 20:32:21
阅读次数:
74