搜索资源列表
calculatPI
- 运用多线程的方法计算pi的值。通过公式法和面积法实现。可以通过调整线程数和数据的运算规模来计算pi,计算不同线程之间的性能差异。-Calculated using multi-threaded the value of pi. Area through the formula and method implementation. You can adjust the number of threads and data operations to calculate the size of pi
cipandiaodu
- 1、对于如下给定的一组磁盘访问进行调度: 请求服务到达 A B C D E F G H I J K 访问的磁道号 30 50 100 180 20 90 150 70 80 10 160 2、要求分别采用先来先服务、最短寻道优先以及电梯调度方法进行调度。 3、要求给出每种算法中磁盘访问的顺序,计算出平均移动道数。 4、假定当前读写头在90号,向磁道号增加的方向移动。-1, for a given set of as disk access scheduling: Reques
Multi-threaded
- 使用2个线程计算2至50000之间的素数。分别使用Thread类、Runnable接口和线程组3种方法编写程序。-Use two threads to calculate the prime numbers between 2-50000. , Respectively, three kinds of ways to write programs using the Thread class, Runnable interface, and thread group.Use two thread
JavaMultithread
- java 计算矩阵相乘。采用多线程的方法。单线程与多线程对比 计算量相同,线程数不同。-java calculate the matrix multiplication. Using the method of multi-threaded. Single-threaded and multi-threaded results calculated in the same number of threads.
RRProcessControl
- 1) 每一个进程有一个PCB,其内容可以根据具体情况设定。 2) 可以在界面设定的互斥资源(包括两种:输入设备与输出设备)的数目 3) 进程数、进入内存时间、要求服务时间可以在界面上进行设定 4) 进程之间存在一定的同步与互斥关系,可以通过界面进行设定,其表示方法如下: 进程的服务时间由三段组成:I2C10O5(表示进程的服务时间由2个时间片的输入,10个时间片的计算,5个时间片的输出) 进程间的同步关系用一个段表示:W2,表示该进程先要等待P2进程执行结束后才可以运行
BANK
- 银行家算法是一种最有代表性的避免死锁的算法。在避免死锁方法中允许进程动态地申请资源,但系 银行家算法 银行家算法 统在进行资源分配之前,应先计算此次分配资源的安全性,若分配不会导致系统进入不安全状态,则分配,否则等待。为实现银行家算法,系统必须设置若干数据结构。-Banker algorithm
mexrogspecified
- 使用阿克玛方法计算指定子区间的三次插值多项式与指定插值点的函数值,-O g m method is used to calculate specified subinterval of three interpolation polynomial and specify the function of the interpolation points,
sknjectflrThis
- 数值分析实验题目牛顿迭代法求根 这个也是计算方法中的常用计算程序-The Newton iteration method for root numerical experiment subject This calculation method is commonly used in the calculation process
xuktiplication
- 计算方法实验报告 编程环境MATLAB7,0 牛顿K次插值多项式的程序实现-Calculation method of the experiment report MATLAB7 programming environment, 0 Newton interpolation polynomial K times program implementation
PI
- 编写程序计算 PI 值 要求: ① 采用至少两种 线程分配方法; ② 使用时间函数统计每个线程的计算时间,对比分析哪种分配方法更优; ③ 程序调试及运行,输出运行结果。(Write programs to calculate PI values Requirements: 1.Use at least two kinds of thread allocation methods; 2.Use time function to calculate the computation ti