Home
last modified time | relevance | path

Searched refs:BCDTime (Results 1 – 10 of 10) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dbcd_time.hpp14 struct BCDTime struct
25 BCDTime() : in BCDTime() argument
30 BCDTime(uint8_t yearMSB, uint8_t yearLSB, uint8_t month, uint8_t day, in BCDTime() function
37 bool operator==(const BCDTime& right) const;
38 bool operator!=(const BCDTime& right) const;
48 BCDTime getBCDTime(std::chrono::time_point<std::chrono::system_clock>& time);
56 BCDTime getBCDTime(uint64_t milliseconds);
65 uint64_t getMillisecondsSinceEpoch(const BCDTime& bcdTime);
117 Stream& operator>>(Stream& s, BCDTime& time);
127 Stream& operator<<(Stream& s, const BCDTime& time);
H A Dbcd_time.cpp15 bool BCDTime::operator==(const BCDTime& right) const in operator ==()
23 bool BCDTime::operator!=(const BCDTime& right) const in operator !=()
28 BCDTime getBCDTime(std::chrono::time_point<std::chrono::system_clock>& time) in getBCDTime()
30 BCDTime bcd; in getBCDTime()
53 BCDTime getBCDTime(uint64_t epochMS) in getBCDTime()
61 uint64_t getMillisecondsSinceEpoch(const BCDTime& bcdTime) in getMillisecondsSinceEpoch()
84 Stream& operator>>(Stream& s, BCDTime& time) in operator >>()
91 Stream& operator<<(Stream& s, const BCDTime& time) in operator <<()
H A Dprivate_header.hpp80 const BCDTime& createTimestamp() const in createTimestamp()
90 const BCDTime& commitTimestamp() const in commitTimestamp()
100 void setCommitTimestamp(const BCDTime& time) in setCommitTimestamp()
249 BCDTime _createTimestamp;
254 BCDTime _commitTimestamp;
H A Dextended_user_header.hpp137 const BCDTime& refTime() const in refTime()
226 BCDTime _refTime;
H A Dpel.hpp156 BCDTime commitTime() const in commitTime()
167 BCDTime createTime() const in createTime()
H A Drepository.hpp192 static std::string getPELFilename(uint32_t pelID, const BCDTime& time);
H A Drepository.cpp150 std::string Repository::getPELFilename(uint32_t pelID, const BCDTime& time) in getPELFilename()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dextended_user_header_test.cpp70 BCDTime time{0x20, 0x25, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60}; in TEST()
106 BCDTime time{0x20, 0x25, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60}; in TEST()
160 BCDTime time; in TEST()
200 BCDTime time; in TEST()
234 BCDTime time; in TEST()
275 BCDTime time; in TEST()
H A Dbcd_time_test.cpp26 BCDTime bcd; in TEST()
H A Drepository_test.cpp40 BCDTime date = {0x20, 0x30, 0x11, 0x28, 0x13, 0x6, 0x7, 0x8}; in TEST_F()