/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
//! Gecko profiler time.
usecrate::gecko_bindings::{bindings, structs::mozilla}; use std::mem::MaybeUninit;
/// Profiler time for the marker API. /// This should be used as the `MarkerTiming` parameter. /// E.g.: /// /// ``` /// let start = ProfilerTime::now(); /// // ...some code... /// gecko_profiler::add_untyped_marker( /// "marker name", /// category, /// MarkerOptions { /// timing: MarkerTiming::interval_until_now_from(start), /// ..Default::default() /// }, /// ); /// ``` #[derive(Debug)] pubstruct ProfilerTime(pub(crate) mozilla::TimeStamp);
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.