摘要:
转自:https://blog.csdn.net/DLUTBruceZhang/article/details/9822235 1.例子 int main(){ string s="abc"; cout<<sizeof(s)<<"\n"; cout<<sizeof(string)<<"\n"; ve 阅读全文
posted @ 2023-01-15 20:19
lypbendlf
阅读(3629)
评论(0)
推荐(0)
摘要:
转自:https://zhuanlan.zhihu.com/p/470315089 1.介绍 通过以下命令: cat /proc/pid/status 即可查看所占用内存情况,C++中通过getpid()函数即可打印进程的pid,类型为pid_t, VSZ:Virtual Memory Size(虚 阅读全文
posted @ 2023-01-15 20:14
lypbendlf
阅读(868)
评论(0)
推荐(0)
浙公网安备 33010602011771号