Location:
Search - CPU time java
Search list
Description: java时间片轮转法
运行RunGame.class文件,和CPU玩21点游戏,-time Web-law running RunGame.class documents, and the CPU play 21:00 games, huh
Platform: |
Size: 198817 |
Author: 李就 |
Hits:
Description: 整个设计采用java语言,利用面向对象思想。
首先,编写一个进程调度类Main_PCB,一个进程信息类PCB_block可以创建进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 对应成员变量是pcb_Name pcb_ID int pcb_Pro PCB_Begintime() pcb_Needtime pcb_Spendtime pcb_Finishtime String pcb_Statue 成员方法是pcb_Work () 可以实例化多个包含相同信息的进程,一个线程类Work允许多个进程共行的进程调度创建各自的模拟任务,由process_Create(int Process_ProcessNum)方法实现创建Process_ProcessNum个进程。
-whole design using java language, the use of object-oriented thinking. First, the process of preparation of a scheduling Main_PCB category, an Information PCB_block process can create process control block (PCB) said. Process control block may contain the following information : process, and priority number, arrival time, the need to run time CPU has spent time, the process of the state and so on. Corresponding member variables is pcb_Name pcb_ID int pcb_Pro PCB_Begin time () pcb_Needtime pcb_Spendtime pcb_Finis htime String pcb_Statue members is pcb_Work () can be examples many of the same information included in the process. Work like a thread allows multiple process held a total of the scheduling process to create their own simulations, by process_Create (int Process_ProcessNum) method
Platform: |
Size: 84809 |
Author: 传统 |
Hits:
Description: java时间片轮转法
运行RunGame.class文件,和CPU玩21点游戏,-time Web-law running RunGame.class documents, and the CPU play 21:00 games, huh
Platform: |
Size: 198656 |
Author: 李就 |
Hits:
Description: 整个设计采用java语言,利用面向对象思想。
首先,编写一个进程调度类Main_PCB,一个进程信息类PCB_block可以创建进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 对应成员变量是pcb_Name pcb_ID int pcb_Pro PCB_Begintime() pcb_Needtime pcb_Spendtime pcb_Finishtime String pcb_Statue 成员方法是pcb_Work () 可以实例化多个包含相同信息的进程,一个线程类Work允许多个进程共行的进程调度创建各自的模拟任务,由process_Create(int Process_ProcessNum)方法实现创建Process_ProcessNum个进程。
-whole design using java language, the use of object-oriented thinking. First, the process of preparation of a scheduling Main_PCB category, an Information PCB_block process can create process control block (PCB) said. Process control block may contain the following information : process, and priority number, arrival time, the need to run time CPU has spent time, the process of the state and so on. Corresponding member variables is pcb_Name pcb_ID int pcb_Pro PCB_Begin time () pcb_Needtime pcb_Spendtime pcb_Finis htime String pcb_Statue members is pcb_Work () can be examples many of the same information included in the process. Work like a thread allows multiple process held a total of the scheduling process to create their own simulations, by process_Create (int Process_ProcessNum) method
Platform: |
Size: 84992 |
Author: 传统 |
Hits:
Description: 操作系统中的进程调度,进程调度模拟程序:假设有10个进程需要在CPU上执行,分别用:先进先出调度算法;基于优先数的调度算法;最短执行时间调度算法
确定这10个进程在CPU上的执行过程。要求每次进程调度时在屏幕上显示:当前执行进程;就绪队列;等待队列
-operating system process scheduling, process simulation scheduling procedures : Assuming a 10 CPU in the process of implementation, respectively : FIFO-scheduling algorithm; Based on the number of priority scheduling algorithm; shortest execution time scheduling algorithm to determine which 10 of the CPU the process of the implementation process. Scheduling requires every process when displayed on the screen : the current implementation process; Ready queue; Waiting for the queue
Platform: |
Size: 104448 |
Author: 魏然 |
Hits:
Description: 设计一程式可输入
1、几个行程
2、每个行程各别的CPU暴冲时间(毫秒)
3、到达时间
4、优先顺序
并求出
1、FCFS
2、SJF - 不可抢先
3、SJF - 可抢先
4、Priority
5、RR
平均等待时间-Design a program may enter 1, 2 several trips, each trip of the other CPU storms red time (ms) 3, the arrival time 4, and obtained the order of priority 1, FCFS 2, SJF- can not be the first to 3, SJF-- can be the first to 4, Priority 5, RR average wait time
Platform: |
Size: 2048 |
Author: attackk |
Hits:
Description: 用JAVA实现的CPU处理机时间片轮转算法-Realized using JAVA processor CPU time slice Round Robin
Platform: |
Size: 2048 |
Author: 和 |
Hits:
Description: CPU分时模型的java模拟
50个工作站,一个CPU-CPU time simulation model of the java
Platform: |
Size: 7168 |
Author: cxccbv |
Hits:
Description: CPU Scheduling in Java with assigned prioities and arrival time
Platform: |
Size: 63488 |
Author: ArulMalar |
Hits:
Description: nio的主要作用就是用来解决速度差异的。举个例子:计算机处理的速度,和用户按键盘的速度。这两者的速度相差悬殊。如果按照经典的方法:一个用户设定一个线程,专门等待用户的输入,无形中就造成了严重的资源浪费:每一个线程都需要珍贵的cpu时间片,由于速度差异造成了在这个交互线程中的cpu都用来等待-nio' s main role is to solve the speed difference. For example: computer processing speed, and the user presses the keyboard speed. Significant differences between the speed of the two. According to the classical methods: a user to set a thread dedicated to waiting for user input, is somehow causing a serious waste of resources: all need each thread' s cpu precious time slices, because of the speed difference caused in this interactive Xiancheng the cpu have to wait
Platform: |
Size: 16384 |
Author: wangguoqiang |
Hits:
Description: 线程技术是JAVA应用的主要技术,多线程具有并行机制、交互性能、实时控制等性能。主要的优势有提高界面程序响应速度和充分利用系统资源。通过使用线程,可以将需要大量时间完成的流程在后台完成 而通过在一个程序内部同时执行多个流程,可以充分利用CPU等系统资源,从而最大限度地发挥硬件的性能 在现在的项目开发中,多线程编程技术获得了广泛的使用。本文从线程概念、属性、实现方法、优劣势来介绍JAVA的多线程技术。-JAVA application thread technology is the main technical, multi-threaded with a parallel mechanism, interactive performance, real-time control performance. The main advantages are speed of response procedures to improve the interface and the full use of system resources. By using threads, you can require significant time to complete the process in the background and within a program by running multiple concurrent processes that can take full advantage of CPU and other system resources to maximize the performance of the hardware in the current project development in multi-threaded programming techniques to obtain a wide range of use. From the thread concept, properties, implementations, advantages and disadvantages to introduce JAVA multi-threading technology.
Platform: |
Size: 183296 |
Author: 莉莉 |
Hits:
Description: GZIPFilter可以用gzip的方式压缩HTTP Response的内容,从而在Server端加快了响应回复的速度(gzip压缩过程需耗用CPU资源,却大幅减轻了网卡的处理负担),在Client端缩短了页面刷新时间,在网络内减少了数据流量。另一方面,因为采用的Filter的方式,无需改动应用现有的代码就可引入该功能。-GZIPFilter way can be compressed with gzip content of HTTP Response to the Server side to speed up the response speed of response (gzip compression process consumes CPU resources, but significantly reduce the processing burden on the card), in the Client side to shorten the time to refresh the page in the network reduces the data traffic. On the other hand, because the use of the Filter approach, without changing existing application code can be introduced into the function.
Platform: |
Size: 12288 |
Author: wendou |
Hits:
Description: JAVA源码,本人原创开发和整理,经过多个商业软件检验的代码,取得机器的硬件指纹,
设计支持windows、linux、OS等操作系统平台,目前已经支持windows平台,可根据思路自行补充linux和OS平台下的一些api,取得机器硬件指纹(cpu 序列号、mac地址、BIOS序列号、硬盘ID),主要用作软件授权使用对象的锁定,只允许指定的机器硬件使用您的软件 另外在util包内有常用的一些文件、时间、数组等处理的util类,可供参考。-Original development and consolidation, a number of commercial software testing code to obtain the machine' s hardware fingerprint, designed to support windows, linux, OS operating system platform, now supports windows platform, based on the idea of self-supplement linux and OS platforms some api, to obtain the machine hardware fingerprint (CPU serial number, MAC address, BIOS serial number, hard disk ID) of, mainly used for software license using the object' s lock, allowing only the specified machine hardware to use your software util package commonly used in the util class file, time, array processing, for reference.
Platform: |
Size: 50176 |
Author: 杜文华 |
Hits:
Description: 时间片轮转法cpu调度,java学习中的运用-Round robin cpu scheduling time slice, the use of java learning
Platform: |
Size: 34816 |
Author: 魏大超 |
Hits:
Description: java 调用sigar 方式获取本地电脑硬件信息 开关机时间 cpu信息 内存大小 内存运行占用百分比-java call sigar way to get local computer hardware information switch time cpu information memory size occupied by the percentage of memory to run
Platform: |
Size: 582656 |
Author: lixisheng |
Hits:
Description: 获取系统时间代码获取,java 调用sigar 方式获取本地电脑硬件信息 开关机时间 cpu信息 内存大小 内存运行占用百分比(Get system time code)
Platform: |
Size: 2048 |
Author: IT扛把子
|
Hits: