码迷,mamicode.com
首页 >  
搜索关键字:schedule    ( 1431个结果
POJ3553 Task schedule (拓扑排序+优先队列)经典
Task schedule Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 306   Accepted: 193   Special Judge Description There are n preemptive jobs to be processed o...
分类:编程语言   时间:2015-04-28 01:58:30    阅读次数:207
理解进程调度时机跟踪分析进程调度与进程切换的过程
1.理解Linux系统中进程调度的时机,可以在内核代码中搜索schedule()函数,看都是哪里调用了schedule(),判断我们课程内容中的总结是否准确;2.使用gdb跟踪分析一个schedule()函数 ,验证您对Linux系统进程调度与进程切换过程的理解;推荐在实验楼Linux虚拟机环境下完...
分类:系统相关   时间:2015-04-25 13:33:49    阅读次数:171
Linux内核进程调度的时机和进程切换
陈铁+原创作品转载请注明出处+《Linux内核分析》MOOC课程http://mooc.study.163.com/course/USTC-1000029000对于现代操作系统,多任务是必备的,在linux系统下,进程会不断的被内核调度,从X进程切换为Y进程,以实现用户所见到的多任务状态,下面我们就看一看这样的过程,分析..
分类:系统相关   时间:2015-04-22 02:09:44    阅读次数:241
linux内核学习-5任务调度(关注新浪微博:寂寞侵蚀的岁月(4000多篇技术分享))
void schedule(void) 105 { 106 int i,next,c; 107 struct task_struct ** p; // 任务结构指针的指针。 108 109 /* check alarm, wake up any interruptible tasks that have got a signal */ /* 检测alarm(进程的报警定时值),唤醒任何...
分类:系统相关   时间:2015-04-21 13:06:48    阅读次数:223
hdu 3572 Task Schedule 最大流 Dinic算法,,卡时间。。建图非常有讲究
Problem Description Our geometry princess XMM has stoped her study in computational geometry to concentrate on her newly opened factory. Her factory has introduced M new machines in order to process the coming N tasks. For the i-th task, the factory has to...
分类:编程语言   时间:2015-04-21 09:50:13    阅读次数:190
kebab (hdu 2883 网络流判满流 关键是缩点)
题意:有一个烧烤机,每次最多能烤 m 块肉,现在有 n 个人来买烤肉,每个人到达时间为 si,离开时间为 ei,点的烤肉数量为 ci,每个烤肉所需烘烤时间为 di,注意一个烤肉可以切成几份来烤。 思路:这一题和hdu 3572 Task Schedule有一点点像,但这一题时间的范围跨度太大,不能再每个时刻看成一个点了,要进行缩点,这一点很巧妙,我没想到。将所有的到达时间和结束时间按升序排序,得到 x <= 2n-1 个时间区间。建立网络流模型:s为源,t为汇,每个顾客i作为一个结点并连边(s, i, ni...
分类:其他好文   时间:2015-04-21 09:46:05    阅读次数:132
Machine Schedule 赤裸裸的二分匹配 二部图中的点覆盖书==匹配数
Machine Schedule 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #in...
分类:系统相关   时间:2015-04-18 16:03:45    阅读次数:143
Act with Prudence
Act with PrudenceSeb Rose Whatever you undertake, act with prudence and consider the consequences. —AnonNO MATTER HOW COMFORTABLE A SCHEDULE LOOKS at the beginning of an iteration, you can’t avoid be...
分类:其他好文   时间:2015-04-18 08:45:47    阅读次数:116
Python学习
在业余时间学习一下跨平台代码python。下面是http://courses.ischool.berkeley.edu/i155/su13/schedule.htm下的例题代码。留作未来参考语法。1 #hw1_1.py2 x=input("Input the number of gallons of...
分类:编程语言   时间:2015-04-17 22:14:17    阅读次数:202
4 cocos2dx 3.0 源码分析- scheduler
scheduler 这个类, 负责了引擎的自定义更新, 及定时更新相关的操作, 看看下面的代码,很熟悉吧。schedule(schedule_selector(HelloWorld::update), 10);它是如何工作的呢, 咱还记得前面mainLoop->drawScene() 的调用 吗?里...
分类:其他好文   时间:2015-04-15 16:41:51    阅读次数:118
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!