Browse Source

fix bug images route should use / instead of \ to seperate dir in ubuntu

guanjinquan 1 year ago
parent
commit
a763a8bd78
5 changed files with 7 additions and 7 deletions
  1. 2 2
      docs/Lab/Lab3/CFS.md
  2. 2 2
      docs/Lab/Lab3/MLFQ.md
  3. 1 1
      docs/Lab/Lab3/RR.md
  4. 1 1
      docs/Lab/Lab4/FIFO.md
  5. 1 1
      package.json

+ 2 - 2
docs/Lab/Lab3/CFS.md

@@ -98,7 +98,7 @@
 
 以图说话:左图则为Round Robin算法的结果,右图则为CFS的结果,体现了equality和equity的区别。
 
-<img src="..\..\.vuepress\public\cfs-equity.png" alt="image-20230710104508212" style="zoom:50%;" />
+<img src="../../.vuepress/public/cfs-equity.png" alt="image-20230710104508212" style="zoom:50%;" />
 
 
 
@@ -275,7 +275,7 @@ int main() {
 
 ## 实验结果
 
-<img src="..\..\.vuepress\public\cfs-result.png" alt="image-20230710173552858" style="zoom:80%;" />
+<img src="../../.vuepress/public/cfs-result.png" alt="image-20230710173552858" style="zoom:80%;" />
 
 
 

+ 2 - 2
docs/Lab/Lab3/MLFQ.md

@@ -8,7 +8,7 @@
 
 ​	该算法有多个队列,同一 个队列中的进程优先级相同,不同队列中的进程优 先级不同; 最高优先级上的进程运行一个时间片,次 高级上的进程运行两个时间片,再下一级运行四个 时间片,以此类推; 每当一个进程在一个优先级队列 中用完它的时间片后,就下移一级,进入另一个队 列; 在低优先级队列中等待时间过长的进程,将被移 入高优先级队列; 调度程序将该进程从等待队列中 释放后提高其优先级。
 
-​	<img src="..\..\.vuepress\public\MLFQ_principle.png" alt="image-20230713191830436" style="zoom:80%;" />
+​	<img src="../../.vuepress/public/MLFQ_principle.png" alt="image-20230713191830436" style="zoom:80%;" />
 
 ​	MLFQ的设计可以根据具体需求进行调整和改进,例如,可以调整队列数量、时间片长度、优先级提升规则等来适应不同的系统环境和应用场景。该调度策略在实践中常用于操作系统中,以平衡系统的吞吐量和响应时间,同时为不同类型的进程提供适当的执行机会。
 
@@ -165,7 +165,7 @@ int main() {
 
 ## 实验结果
 
-<img src="..\..\.vuepress\public\MLFQ_result.png" alt="image-20230713194336736" style="zoom:80%;" />
+<img src="../../.vuepress/public/MLFQ_result.png" alt="image-20230713194336736" style="zoom:80%;" />
 
 
 

+ 1 - 1
docs/Lab/Lab3/RR.md

@@ -117,7 +117,7 @@ int main() {
 
 ## 实验结果
 
-<img src="..\..\.vuepress\public\RR-result.png" alt="image-20230710171839016" style="zoom:80%;" />
+<img src="../../.vuepress/public/RR-result.png" alt="image-20230710171839016" style="zoom:80%;" />
 
 
 

+ 1 - 1
docs/Lab/Lab4/FIFO.md

@@ -104,7 +104,7 @@ int main() {
 
 ## 实验样例
 
-<img src="..\..\.vuepress\public\FIFO_result.png" alt="image-20230713200134638" style="zoom:80%;" />
+<img src="../../.vuepress/public/FIFO_result.png" alt="image-20230713200134638" style="zoom:80%;" />
 
 
 

+ 1 - 1
package.json

@@ -5,7 +5,7 @@
   "main": "index.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
-	"docs:dev": "vuepress dev docs",
+    "docs:dev": "vuepress dev docs",
     "docs:build": "vuepress build docs"
   },
   "author": "",