mirror of
https://github.com/matrix-construct/construct
synced 2024-11-28 17:52:54 +01:00
ircd: Fix/improve comments. [ci skip]
This commit is contained in:
parent
6f8d2c7578
commit
6ceb8c193b
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ namespace ircd
|
|||
// System microtime suite
|
||||
microtime_t microtime();
|
||||
|
||||
// System formatted time suite
|
||||
// System formatted time suite (also see util/pretty.h)
|
||||
extern const char *const rfc7231_fmt;
|
||||
string_view timef(const mutable_buffer &out, const struct tm &tm, const char *const &fmt = rfc7231_fmt);
|
||||
string_view timef(const mutable_buffer &out, const time_t &epoch, const char *const &fmt = rfc7231_fmt);
|
||||
|
|
|
@ -32,7 +32,7 @@ inline namespace util
|
|||
string_view pretty(const mutable_buffer &out, const human_readable_size &, const uint &fmt = 0);
|
||||
std::string pretty(const human_readable_size &, const uint &fmt = 0);
|
||||
|
||||
// Human readable time suite (for timers and counts; otherwise see date.h)
|
||||
// Human readable time suite (for timers and counts; otherwise see ircd/time.h)
|
||||
string_view pretty(const mutable_buffer &out, const nanoseconds &, const uint &fmt = 0);
|
||||
string_view pretty(const mutable_buffer &out, const microseconds &, const uint &fmt = 0);
|
||||
string_view pretty(const mutable_buffer &out, const milliseconds &, const uint &fmt = 0);
|
||||
|
|
Loading…
Reference in a new issue