X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=src%2Ftimefunc.cpp;fp=src%2Ftimefunc.cpp;h=e41308f7940d9882fcf6009cb2ca1e2d05e5e7b5;hb=76a5f03b53e4bb821d1ca91a8c8aa4387636e850;hp=b486de11960b41a7b9b39d995687bcefeb7d200e;hpb=3d690deabd001413b2077c6e043404ecd3f03671;p=libi2ncommon diff --git a/src/timefunc.cpp b/src/timefunc.cpp index b486de1..e41308f 100644 --- a/src/timefunc.cpp +++ b/src/timefunc.cpp @@ -1019,6 +1019,18 @@ namespace clock { namespace { + /** + * @brief For internal use only. Translates clock + * specification flags to kernel clock types. + * + * @param id Master clock id: \c mono, \c real, \c boot, or \c + * cpu. + * @param var Variant of clock if appropriate: \c raw, \c exact, \c + * process, or \c thread. Use \c dflt for the base + * variant. + * + * @return The clock id for using with kernel APIs. + */ static inline clockid_t clockid_of_flags (const enum type::id id, const enum type::variant var) NOEXCEPT