Skip to content

Add time management functionality

Pawel Wieczorkiewicz xen-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6time: introduce time managment in xtfbuild/files.mk common/time.c include/xtf/lib.h +1 more+132 -00 replies
2/6time: add current_time() function to time managementcommon/time.c include/xtf/time.h+20 -00 replies
3/6time: add gettimeofday() function to time managmentcommon/time.c include/xtf/time.h+26 -00 replies
4/6time: Add helper functions and macros to time managementcommon/time.c include/xtf/time.h+74 -00 replies
5/6time: Add cycles2{n,u,m}sec functionscommon/time.c include/xtf/time.h+21 -10 replies
6/6event_channels: Add EVTCHNOP_bind_vcpu hypercall supportinclude/xen/event_channel.h+7 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [XTF 0/6] Add time management functionality

This is a 2nd attempt to contribute time management functionality to XTF. It is also a 2nd batch of the changes I want to sent upstream.

The patches add common/time.c core with scaling and system time calculating functions.
Other patches add helper functions based on the core functionality.

Finally, there is also a little change adding EVTCHNOP_bind_vcpu defininitions.

Paul Semel (4):
time: introduce time managment in xtf
time: add current_time() function to time management
time: add gettimeofday() function to time managment
time: Add helper functions and macros to time management

Pawel Wieczorkiewicz (2):
time: Add cycles2{n,u,m}sec functions
event_channels: Add EVTCHNOP_bind_vcpu hypercall support

 build/files.mk              |   1 +
 common/time.c               | 190 ++++++++++++++++++++++++++++++++++++++++++++
 include/xen/event_channel.h |   7 ++
 include/xtf/lib.h           |  18 +++++
 include/xtf/time.h          |  63 +++++++++++++++
 5 files changed, 279 insertions(+)
 create mode 100644 common/time.c
 create mode 100644 include/xtf/time.h
Signature · 12 lines
2.16.6




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879