会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Toggle navigation
stdpain
博客园
联系
Submit
订阅
管理
管理面板
随笔
stdpain
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
19
下一页
2022年4月28日
gdb 打出的堆栈对不上
摘要: 原因1: 需要确保编译的时候有 -g选项,没有-g是没符号的 原因2: binary strip过,把符号表删除了 原因3: binary 跟coredump不匹配 原因4: 产生coredump的机器跟debug机器的库不匹配 一般的输出为 /lib64/xxx.so.x is not at th
阅读全文
posted @ 2022-04-28 11:15 stdpain
阅读(207)
评论(0)
推荐(0)
2022年4月4日
access WSL files in windows explorer
摘要: in WSL ternimal: explorer.exe .
阅读全文
posted @ 2022-04-04 13:11 stdpain
阅读(51)
评论(0)
推荐(0)
2022年3月14日
VERBOSE in Makefile
摘要: for cmake: make VERBOSE=1 for make make V=1
阅读全文
posted @ 2022-03-14 15:33 stdpain
阅读(60)
评论(0)
推荐(0)
2022年3月8日
Centos 通过 devtools 安装 gcc7.3
摘要: yum -y install centos-release-scl yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils scl enable devtoolset-7 bash
阅读全文
posted @ 2022-03-08 19:09 stdpain
阅读(332)
评论(0)
推荐(0)
2022年3月7日
编译 GCC10
摘要: prepare: gcc-10.3.0.tar.gz libstdc++-static gcc dependency.xxx copy dependency cp dependency.xxx gcc-10.3.0 prepare ./contrib/download_prerequisites -
阅读全文
posted @ 2022-03-07 19:25 stdpain
阅读(197)
评论(0)
推荐(0)
2022年1月24日
修改tmp目录
摘要: /tmp 目录公用的总是打满, 可以修改一下 export TMPDIR=$HOME/.tmp
阅读全文
posted @ 2022-01-24 20:19 stdpain
阅读(344)
评论(0)
推荐(0)
SIMD 非连续load
摘要: https://acl.inf.ethz.ch/teaching/fastcode/2021/slides/07-simd-avx.pdf 下面两种在O3下的汇编是相同的,在O2下不同 #include <immintrin.h> __m256d myArbitraryLoad2(double *a
阅读全文
posted @ 2022-01-24 14:09 stdpain
阅读(69)
评论(0)
推荐(0)
2022年1月21日
一些三方库的潜在问题
摘要: cctz: 每次获取 timezone对象的时候申请申请一把锁,性能很差, 建议cache一些常见的的timezone RE2: 正则库, 非预编译的case下,内部似乎会申请pthread锁,性能很差,建议使用hyberscan
阅读全文
posted @ 2022-01-21 17:12 stdpain
阅读(49)
评论(0)
推荐(0)
2022年1月18日
TODO: inv filter vectorized
摘要: #include <cstdint> #include <cstddef> #include <vector> int test(size_t old_sz, std::vector<uint8_t> &_selection) { for (size_t i = 0; i < old_sz; i++
阅读全文
posted @ 2022-01-18 10:38 stdpain
阅读(34)
评论(0)
推荐(0)
2022年1月14日
常用的一些解压命令
摘要: tar -xf tar -zxf xz -d bunzip2
阅读全文
posted @ 2022-01-14 10:56 stdpain
阅读(38)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
19
下一页
公告
Copyright © 2021 stdpain
Powered by .NET 5.0 on Kubernetes