본문 바로가기
반응형

OS Scheduling simulator9

TP1.9. Python Part Executable File Excessive Execution Time Problem [OS Scheduling simulator] Python Part Executable File Excessive Execution Time Problem I think the problem is caused by excessive module import. The first thing I thought of when this issue occurred was the time to plot boxes over time in animation creation. To solve this issue, we have devised the following three solutions. In fact, not all solutions were applied, but only some were adopted and reflected in the code. Se.. 2022. 6. 6.
TP1.8. Animation Ideas [OS Scheduling simulator] Animation Creation Ideas 1. Using time.sleep() of the time module 2. Using os module 3. FuncAnimation The first two ideas are very well known methods. I also tried to implement animation through two ideas, but it was not suitable for colab environment and it was difficult to write code friendly to pyplot module. I was able to check the technical documentation about FuncAnimation of the matplotli.. 2022. 6. 6.
TP1.7. History in Colab shared links [OS Scheduling simulator] Track update history in Colab shared links We can see code modifications by different team members, as well as track execution results. This is very useful. 2022. 6. 6.
TP1.6. Corner case [OS Scheduling simulator] Corner case issue We discussed this issue at 3rd BREAKOUT MEETING (05.20.). We have to consider the case where CPU resources are not allocated to any process. The first uploaded Jupyter notebook file does not reflect the corresponding corner case. The unfortunate thing is that the first uploaded code seems to have to reflect the corener case syntactically. However, in reality, it was a code that.. 2022. 6. 6.
TP1.5. File format for Evaluation module [OS Scheduling simulator] File format for Evaluation module Example : tc1_FCFS.txt S E PROCESS 0 4 P1 4 5 P2 5 10 P0 10 17 P4 17 20 P3 20 22 P5 - 각 프로세스의 pid, bursttime, waitingtime, turnaroundtime, responsetime, priority 마지막 세 줄 : avgwait, avgturnaround, avgresponse Note : 각 line 별 줄 바꿈 이전에 ' '(공백)이 하나 있어야합니다! https://github.com/ghpk98/OS-Term-Project/tree/brchSON/testcase/tc1_result 가 도움이 될 수 있습니다. Testcase 구축 담당 팀원께서 .. 2022. 6. 6.
TP1.4. Python : GanttChart [OS Scheduling simulator] plotly.figure_factory.create_gantt plotly.figure_factory.``create_gantt(df, colors=None, index_col=None, show_colorbar=False, reverse_colors=False, title='Gantt Chart', bar_width=0.2, showgrid_x=False, showgrid_y=False, height=600, width=None, tasks=None, task_names=None, data=None, group_tasks=False, show_hover_fill=True)¶ deprecated, use instead plotly.express.timeline(). Returns figure for a .. 2022. 6. 6.
반응형