当前位置: 首页 > news >正文

网站侧边菜单wordpress盲注

网站侧边菜单,wordpress盲注,seo网站结构图,成都怎么成立网站多线程在进行复杂运算时能够大量节约时间 提醒自己能够在多线程运算的时候一定要充分利用 能够省下2/3的时间 测试代码 #includevector #include iostream #include thread using namespace cv; using namespace std; int result1 0 ; bool thread…多线程在进行复杂运算时能够大量节约时间 提醒自己能够在多线程运算的时候一定要充分利用 能够省下2/3的时间 测试代码 #includevector #include iostream #include thread using namespace cv; using namespace std; int result1 0 ; bool thread_flag1 false; bool thread_flag2 false; bool thread_flag3 false; bool thread_flag4 false;void add_fn (int time) {int result 0;for (int i 0 ;i 10000000 ;i){result i ;} // cout the time time result endl;if (time 1 ) thread_flag1 true;else if (time 2 ) thread_flag2 true;else if (time 3 ) thread_flag3 true;else thread_flag4 true;// return result ; } void check_thread() {auto beforeTime std::chrono::steady_clock::now();while(1){if(thread_flag1thread_flag2thread_flag3thread_flag4){auto afterTime std::chrono::steady_clock::now();double duration_microsecond std::chrono::durationdouble, std::micro(afterTime - beforeTime).count();cout threads take times duration_microsecond microsecond endl;break;}}}int main() {thread check(check_thread);check.detach();for (int i 0;i 4 ; i){std::thread t(add_fn , i);t.detach();}auto beforeTime std::chrono::steady_clock::now();for (int i 0;i 4 ; i){add_fn(i);}auto afterTime std::chrono::steady_clock::now();double duration_microsecond std::chrono::durationdouble, std::micro(afterTime - beforeTime).count();cout all take times duration_microsecond microsecond endl;while(1){} }
http://www.sadfv.cn/news/233861/

相关文章:

  • 深圳网站建设认准乐云践新学院网页设计
  • 常用的网站开发语言免费国外在线代理服务器
  • 深圳做网站哪家便宜wordpress用什么域名好
  • 烟台哪家公司可以做网站linux下网站开发
  • 网站建设图片编辑dlog4j wordpress
  • 网站推广营销方法江苏省建设厅网站怎么登不上
  • 长沙建网站的公司一对一定制方案台州关键词优化哪家好
  • 网站分页符怎么做百度一下浏览器下载安装
  • 沧州英文模板建站怒江州住房和城乡建设局网站
  • 深圳网站建设公司多少钱织梦菜谱网站模板免费下载
  • 资深网站如何做可以收取客户月费教务系统网站建设模板下载
  • 做网站常用的背景图像云服务器网站搭建
  • 西安优化网站公司网站建设标新立异
  • 网上做网站钱被骗了报案有用吗延边州建设局网站
  • 我要浏览国外网站怎么做中小企业管理培训班
  • 江门市住房和城乡建设局网站安阳网红打卡地
  • 信息展示网站系统关于进一步优化 广州
  • 与狗做网站h5制作软件 知乎
  • 国际设计师网站wordpress服務器
  • 一个网站突然打不开站长工具下载app
  • 影响网站速度的因素下载班级优化大师并安装
  • 网站托管服务器高端vi设计机构
  • 企业网站建设 详细方案最近的新闻热点时事
  • 做网站读什么专业南皮县网站建设公司
  • 怎么做域名网站linux网站建设模板
  • 淄博建网站宁波网站备案幕布拍照
  • 上海市建上海市建设安全协会网站黑龙江新闻最新消息今天
  • 佛山公司网站建设做网站公司在深圳
  • 怎样用ps设计网站模板seo咨询师
  • 个人网站的建设参考文献上饶建设培训中心网站