Skip to main content

Spectacles Monitor

Spectacles Monitor is a tool designed to help you identify areas for performance improvement in your Lens. For detailed guidance on utilizing performance data, refer to the Performance Optimization.

To launch the monitor go to Window -> Utilities -> Spectacles Monitor.

Measuring Power and Thermals

Lens Studio provides a Spectacles Monitor window for assessing the power and thermal performance of your Lenses on the Spectacles device.

For monitoring to begin, Spectacles must first be connected to Lens Studio. Once connected, baseline values for power and thermal will be displayed on the monitor: these include the Logic Touch (left) and Tracker Touch (right) temperatures, and the Tracker power usage.

(You can also open more than one Spectacles Monitor if you’d like to have one focus only on power and the other only on temperature)

Once you start a lens by sending it to Spectacles, an additional entry named Lens will appear under Power Usage, along with an additional line representing your lens on the power graph. You can use this entry to monitor the specific power usage of your lens. To monitor the thermal impact of your lens, observe the changes in temperature of the Logic Touch and Tracker Touch as your lens runs.

(If the lens information does not appear, try restarting your device).

You can analyze the trends on the graph by pausing the monitor using the pause button. Once paused, click and drag to show the average temperature and power in the selected timespan.

Finally, you can clear both graphs by clicking on the broom icon on the top right of the monitor.

Perfetto

Perfetto is an open-source project that provides performance tracing and visualization tools compatible with Spectacles. It enables detailed analysis of system and application performance by capturing and displaying trace events in a graphical interface. Perfetto is used for identifying performance bottlenecks and debugging complex issues.

To begin a Perfetto Trace, ensure that Spectacles are connected to Lens Studio and in an active session with a Draft Lens. Refer to the Connection Guide for instructions. Once connected and the Draft Lens is open, select "Start Spectacles Profiling" to initiate the Perfetto Trace. You can specify where the Perfetto Trace data will be stored on your local machine.

To stop the Perfetto Trace, select "Stop Spectacles Profiling". If the Perfetto Trace is successful, the Perfetto GUI will appear directly in the Spectacles Monitor. Additionally, you can view the Perfetto Trace by opening the exported static HTML file on your local machine.

For more information and guidance on navigating through Perfetto, visit the main website: Perfetto Documentation.

Was this page helpful?
Yes
No