Home
last modified time | relevance | path

Searched hist:e7abcdc7bb9cc3b5e36d829aa777b2c544792d10 (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-time-manager/
H A Dbmc_epoch.cppdiff e7abcdc7bb9cc3b5e36d829aa777b2c544792d10 Mon Jan 16 01:05:24 CST 2017 Lei YU <mine260309@gmail.com> Implement BmcEpoch set/get elapsed()

Getting elapsed returns BMC's time;
Setting elapsed will check the current time mode/owner, and will return
error when mode is NTP or owner is HOST.

Add unit test cases.

Change-Id: Ibf4e90957f3b26b68c4a1b6dc66dc364c66bef10
Signed-off-by: Lei YU <mine260309@gmail.com>
/openbmc/phosphor-time-manager/test/
H A DTestBmcEpoch.cppdiff e7abcdc7bb9cc3b5e36d829aa777b2c544792d10 Mon Jan 16 01:05:24 CST 2017 Lei YU <mine260309@gmail.com> Implement BmcEpoch set/get elapsed()

Getting elapsed returns BMC's time;
Setting elapsed will check the current time mode/owner, and will return
error when mode is NTP or owner is HOST.

Add unit test cases.

Change-Id: Ibf4e90957f3b26b68c4a1b6dc66dc364c66bef10
Signed-off-by: Lei YU <mine260309@gmail.com>