qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Query VM Clock Time with high precision


From: James Middleton
Subject: Query VM Clock Time with high precision
Date: Thu, 18 Apr 2024 10:51:55 +0100

Hi All!

I'm trying to query the VM Clock Time while in a paused state.

The only way I've found to do this is to save a snapshot and use QMP's "query-block" command which contains "vm-clock-sec" and "vm-clock-nsec" fields for each snapshot.

Is there any way to get this information without having to save a snapshot?

QMP's "query-stats" command includes an "uptime" field with the VM Clock Time in seconds, but I need it at millisecond / nanosecond level precision. 

Many thanks,
                        James



reply via email to

[Prev in Thread] Current Thread [Next in Thread]