ZealOS/docs/Doc/TimeJiffy.DD.html

37 lines
2.3 KiB
HTML
Raw Normal View History

2021-07-03 05:07:57 +01:00
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=US-ASCII">
<meta name="generator" content="ZealOS V1.02">
2021-07-03 05:07:57 +01:00
<style type="text/css">
body {background-color:#1f1f1f;}
.cF0{color:#e3e3e3;background-color:#1f1f1f;}
.cF1{color:#4f84a6;background-color:#1f1f1f;}
.cF2{color:#73a255;background-color:#1f1f1f;}
.cF3{color:#297582;background-color:#1f1f1f;}
.cF4{color:#b34f4b;background-color:#1f1f1f;}
.cF5{color:#8a52c3;background-color:#1f1f1f;}
.cF6{color:#b7822f;background-color:#1f1f1f;}
.cF7{color:#444444;background-color:#1f1f1f;}
.cF8{color:#6d6d6d;background-color:#1f1f1f;}
.cF9{color:#94bfde;background-color:#1f1f1f;}
.cFA{color:#a1ce97;background-color:#1f1f1f;}
.cFB{color:#6db4be;background-color:#1f1f1f;}
.cFC{color:#e88e88;background-color:#1f1f1f;}
.cFD{color:#ca94e8;background-color:#1f1f1f;}
.cFE{color:#d4b475;background-color:#1f1f1f;}
.cFF{color:#1f1f1f;background-color:#1f1f1f;}
2021-07-03 05:07:57 +01:00
</style>
</head>
<body>
<pre style="font-family:monospace;font-size:12pt">
<a name="l1"></a><span class=cF0>One jiffy is one time slice. </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l696"><span class=cF4>counts.jiffies</span></a><span class=cF0> returns time slices since boot.
2021-07-03 05:07:57 +01:00
<a name="l2"></a></span><span class=cF4>
<a name="l3"></a></span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KMisc.CC.html#l22"><span class=cF4>SysTimerRead</span></a><span class=cF0> reads the timer ticks since boot. It's not as fast as </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelB.HH.html#l244"><span class=cF4>TSCGet</span></a><span class=cF0>.
2021-07-03 05:07:57 +01:00
<a name="l4"></a>
<a name="l5"></a>Use </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l706"><span class=cF4>JIFFY_FREQ</span></a><span class=cF0> to convert </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l696"><span class=cF4>counts.jiffies</span></a><span class=cF0>.
2021-07-03 05:07:57 +01:00
<a name="l6"></a>
<a name="l7"></a>Use </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KernelA.HH.html#l708"><span class=cF4>SYS_TIMER_FREQ</span></a><span class=cF0> to convert </span><a href="https://zeal-operating-system.github.io/ZealOS/Kernel/KMisc.CC.html#l22"><span class=cF4>SysTimerRead</span></a><span class=cF0>.
2021-07-03 05:07:57 +01:00
</span></pre></body>
</html>