MCPcopy Create free account
hub / github.com/GNOME/gjs / profiler_timestamp

Function profiler_timestamp

gjs/profiler.cpp:172–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170#ifdef ENABLE_PROFILER
171
172[[nodiscard]]
173static inline ProfilerTimePoint profiler_timestamp() {
174 return std::chrono::time_point_cast<std::chrono::nanoseconds>(
175 GLib::MonotonicClock::now());
176}
177
178/**
179 * gjs_profiler_extract_maps:

Calls

no outgoing calls

Tested by

no test coverage detected