]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/ceph_time.h
update sources to v12.2.5
[ceph.git] / ceph / src / common / ceph_time.h
index 8479a0d5494c62beb7c9caa88ce4fafd7fd7a22b..d3d5dfa362e857b976eed8b34439d92d1bd5d8b8 100644 (file)
@@ -240,6 +240,10 @@ namespace ceph {
        return time_point(seconds(ts.tv_sec) + nanoseconds(ts.tv_nsec));
       }
 
+      static time_point zero() {
+        return time_point::min();
+      }
+
       // A monotonic clock's timepoints are only meaningful to the
       // computer on which they were generated. Thus having an
       // optional skew is meaningless.