summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2016-11-15 06:57:35 -0600
committerPatrick Williams <patrick@stwcx.xyz>2016-11-18 10:21:55 -0600
commit8aac5db49748b2e00566871c9729a550f2a45ebf (patch)
tree98f09e609d1f36dc3a7bb9a516d92158b545b4c5 /xyz
parentdc626ea074ee647bbd22e25c899c6dc09d1c88d8 (diff)
downloadphosphor-dbus-interfaces-8aac5db49748b2e00566871c9729a550f2a45ebf.tar.gz
phosphor-dbus-interfaces-8aac5db49748b2e00566871c9729a550f2a45ebf.zip
Add dbus interfaces to control the system time
Add an EpochTime interface to get/set time elapsed since the Epoch (1 Jan 1970 00:00:00 UTC). Change-Id: I60106b9d890489efc12586a41d6f686448c60c98 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/Time/EpochTime.interface.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Time/EpochTime.interface.yaml b/xyz/openbmc_project/Time/EpochTime.interface.yaml
new file mode 100644
index 0000000..243802a
--- /dev/null
+++ b/xyz/openbmc_project/Time/EpochTime.interface.yaml
@@ -0,0 +1,10 @@
+description: >
+ Implement to control system time.
+properties:
+ - name: Elapsed
+ type: uint64
+ description: >
+ Time elpased since the
+ Epoch(1 Jan 1970 00:00:00 UTC), in microseconds.
+
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud