博客
分类
标签
归档
随笔
日报
博客
分类
标签
归档
随笔
日报
excel OFFSET函数
OFFSET(reference, rows, cols, [height], [width])excel的索引从1开始前三个参数指定左上角,height和width指定这个区域的大小(height:行数,width:列数)ROW()获取当前行索引 如下表示求区域(A3单元格为区域左上角,区域高是ROW()-4行,宽是1列)的均方差(=SQRT(VAR(…))) =STDEV(OF...
2022-10-16
tool
windows
tool
windows
Read More
linux函数运行时间监控 oprofile 用opref替代opcontrol
oprofile的Q&A:https://oprofile.sourceforge.io/faq/ 先operfSYNOPSIS operf [ options ] [ --system-wide | --pid <pid> | [ command [ args ] ] ] One (and only one) of either command , --pid ...
2022-10-14
debug
tool
linux
tool
linux
debug
Read More
linux监控函数调用时间 gprof gcov
https://blog.csdn.net/yuyin86/article/details/6671472 gprof[每个函数的调用时间] 仅单线程、用户态gprof的基本用法:1. 使用 -pg 选项编译和链接你的应用程序 ,在gcc编译程序的时候,加上-pg选项,如果是大项目,就在makefile里面修改编译选项,-pg放在那里都行。例如: gcc -pg -o test tes...
2022-09-30
debug
tool
linux
tool
linux
debug
Read More
linux查看cache大小
getconf显示的大小数据单位为byte所有CACHE相关的参数 getconf -a | grep CACHE cache line大小 getconf -a | grep CACHE_LINESIZE Intel的一般是64字节: LEVEL1_ICACHE_LINESIZE 64 LEVEL1_DCACHE_LINESIZE 64 ...
2022-09-30
debug
tool
linux
tool
linux
debug
Read More
模板类static成员静态数据成员
https://blog.csdn.net/zhizhengguan/article/details/116108271 语法1:定义在.h.h文件: template <typename T> class the_class{ static int id; }; template <typename T> int the_class&l...
2022-09-28
c++
language
c++
language
Read More
vscode调试c++查看变量的二进制表示
方法一:watch窗口加expression后缀expression[,suffix]无后缀:十进值,x或,h:十六进制,o:八进制,b:二进制(低地址在右边)比如:undone.reg,b(reg是undone的private成员,也可以监控) 方法二:gdb内存查看命令xF5启动调试在断点处停住后,可以在debug console中通过-exec前缀执行gdb的命令比如内存查看指令x(g...
2022-09-27
c++
debug
debug
c++
debug
debug
Read More
unorder_map插入键 值调用默认构造函数
判断是否有某键,不用count而是用find,因为如果存在某键的话,count会返回键的所有个数,也就是会遍历所有,而不是找到了就返回 []向Fr中插入键n,值调用默认构造函数 if (Fr.find(n) == Fr.end()) { Fr[n]; }
2022-09-26
c++
language
c++
language
Read More
模板定义和声明分离方法
调用可以和定义或申明不在一起 不分离申明和定义都放在.h文件中函数模板 template <typename T> void testprint(T i) { std::cout << i << std::endl; } 类模板 template <typename T> class A { T ...
2022-09-26
c++
language
c++
language
Read More
SSE指令速查链接
指令速查中文部分(从这里猜测用什么关键词去下面的官方文档中搜)https://packagewjx.github.io/2018/11/12/sse-note/官方(这个超级好,搜索迅速,给了描述、实现指令、头文件、对应指令集标准等)https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html
2022-09-23
SIMD
c++
SIMD
c++
SIMD
SIMD
Read More
cpp对齐
栈:alignas specifier (since C++11) alignas specifier (since C++11) - cppreference.com Specifies the alignment requirement of a type or an object. Syntaxalignas( expression ) \1) expression must ...
2022-09-22
c++
language
linux_syscall
c++
language
linux_syscall
Read More
Previous
39 / 49
Next
粘贴文本
全选文本
剪切文本
复制文本
站内搜索
必应搜索
新标签页打开
复制链接地址
复制图片
谷歌识图
常见问题
示例博客
加入社区
本站源码
主题源码
暗黑模式
打印页面
阅读模式