摘要:
流水线调度问题,直接上图:e为开始为进入流水线花费时间,a为station花费的时间,t为切换流水线花费时间,x为出流水线的时间,代码中用total[0][i]和total[1][i]分别表示第0条和第1条流水线到station i 所花费的最短时间代码(C语言写的心累):#include#incl... 阅读全文
摘要:
一、cmake简介1.背景知识 cmake 是 kitware 公司以及一些开源开发者在开发几个工具套件(VTK)的过程中衍生品,最终形成体系,成为一个独立的开放源代码项目。项目的诞生时间是 2001 年。其官方网站是 www.cmake.org,可以通过访问官方网站获得更多关于 cmake 的信... 阅读全文
摘要:
1.w显示谁登录来系统并执行了哪些程序。$w不显示头部信息$w -h显示指定用户$w 2.nmonNmon(nigel's monitor的简写)是一个显示系统性能信息的工具。$nmonnmon可以显示磁盘、cpu、memory等信息3.ncdu是一个支持光标的du程序,这个命令是用来分析各种目录占... 阅读全文
摘要:
Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,Cron有如下两种语法格式:Seconds Minutes Hours DayofMonth Month DayofWeek Year或Seconds Minutes Hours DayofMonth Mon... 阅读全文
摘要:
当使用下述代码进行数组初始化时>>>a = [[0]*3]*3[[0,0,0], [0,0,0], [0,0,0]]>>>a[1][1] = 1[[0,1,0], [0,1,0], [0,1,0]]>>>b = [[0,0,0],[0,0,0],[0,0,0]][[0,0,0], [0,0,0], ... 阅读全文
摘要:
A vertex in an undirected connected graph is an articulation point (or cut vertex) iff removing it (and edges through it) disconnects the graph.Articu... 阅读全文
摘要:
1 function isURL(str_url) {// 验证url 2 var strRegex = "^((https|http|ftp|rtsp|mms)?://)" 3 + "?(([0-9a-z_!~*'().&=+$%-]+: )... 阅读全文