Skip to content

Commit

Permalink
deploy: 4805957
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf2019 committed Mar 5, 2024
1 parent a8b4503 commit e745134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch3/src/os/timer.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h2>Files</h2></div></nav><div class="sidebar-resizer"></div>
<span class="doccomment">/// get current time in milliseconds
</span><span class="attr">#[allow(dead_code)]
</span><span class="kw">pub fn </span>get_time_ms() -&gt; usize {
time::read() / (CLOCK_FREQ / MSEC_PER_SEC)
time::read() * MSEC_PER_SEC / CLOCK_FREQ
}

<span class="doccomment">/// get current time in microseconds
Expand Down

0 comments on commit e745134

Please sign in to comment.