MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / measure

Method measure

dstack-mr/src/machine.rs:96–98  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

94
95impl Machine<'_> {
96 pub fn measure(&self) -> Result<TdxMeasurements> {
97 self.measure_with_logs().map(|details| details.measurements)
98 }
99
100 pub fn measure_with_logs(&self) -> Result<TdxMeasurementDetails> {
101 debug!("measuring machine: {self:#?}");

Callers 2

mainFunction · 0.80

Calls 1

measure_with_logsMethod · 0.80