mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::db::env: Hot section time callbacks.
This commit is contained in:
parent
e1e67f7603
commit
961ea26d1b
1 changed files with 2 additions and 0 deletions
|
@ -720,6 +720,7 @@ catch(const std::exception &e)
|
|||
return error_to_status{e};
|
||||
}
|
||||
|
||||
[[gnu::hot]]
|
||||
uint64_t
|
||||
ircd::db::database::env::NowMicros()
|
||||
noexcept
|
||||
|
@ -729,6 +730,7 @@ noexcept
|
|||
|
||||
/// Bug in rocksdb causes this to not be called all the time, specifically
|
||||
/// for perf events.
|
||||
[[gnu::hot]]
|
||||
uint64_t
|
||||
ircd::db::database::env::NowNanos()
|
||||
noexcept
|
||||
|
|
Loading…
Reference in a new issue