// // To use this library, enable one of the feature flags. Each backend implementation provides the // exact same interface. Only one may be active at a time. //
/// Proc macro for creating a scope around the function, using the name of the function for the /// scope's name /// /// This must be done as a proc macro because tracing requires a const string /// /// ``` /// #[profiling::function] /// fn my_function() { /// /// } /// ``` #[cfg(feature = "procmacros")] pubuse profiling_procmacros::function;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.