microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
e8c4f2e8ffc1914ac7dab5e566370609f1f37cd7

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

openhcl/minimal_rt/src/reftime.rs

9lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//! Hypervisor reference time.
5
6/// Returns the current reference time from the hypervisor, in 100ns units.
7pub fn reference_time() -> u64 {
8 crate::arch::reference_time()
9}
10