What are the units for “Save duration” in the Core Data Saves instrument?

In the XCode Instruments application there is a Core Data Saves instrument. It can show the "Save duration" for each Core Data save. What units is it using for the Save Duration? With no humanly perceptible lag time I'm seeing readings ranging from 67 to 6343.

Is this counting microseconds, something related to processor cycles, or multiples of the instrument sample time?


Save duration: Duration of the save operation in microseconds.

For further info see Apple doc.

Furthermore, if you enable the debug functionality for Core Data

-com.apple.CoreData.SQLDebug 1

You can also see duration times within the console. In this case they are expressed in seconds. To enable it see XCode4 and Core Data: How to enable SQL Debugging.

Need Your Help

Rails Hiding a div based on Page using IF and ELSE statements

ruby-on-rails if-statement

I have a home page where I want to display a div in a certain way that it will require to be in the top of the application view.

How to only transmit data through websocket if different from previous transmission

javascript node.js express socket.io closures

I have a built a simple web application using NodeJS + Express, the request and socket.io modules to get JSON data from an external API and then transmit it using a websocket to the client.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.