| 379 | |
| 380 | template <std::integral Rep, typename Period> |
| 381 | void round_trip_encode(const std::chrono::duration<Rep, Period>& d, |
| 382 | ceph::bufferlist &bl) { |
| 383 | const Rep r = d.count(); |
| 384 | encode(r, bl); |
| 385 | } |
| 386 | |
| 387 | template <std::integral Rep, typename Period> |
| 388 | void round_trip_decode(std::chrono::duration<Rep, Period>& d, |