What do the red telephone and blue telephone mean in iOS Xcode Instruments? - ios

I tried to find a legend for these graphics and colors, but I couldn't find anything that was certainly referring to this instrument. Does anyone know? Specifically, the blue and red telephones, the red lollipop and the black line with red stripes. What do they all mean?

It appears to me that the red and blue telephone icons are kernel event messages, and the other icon is a red alarm bell which indicates kernel interrupts. If you click on those icons you will see a popup with specific details.
I checked in my project and the red telephones always corresponded to BSC_* events while blue telephones corresponded to MSC_* events.
The events list for the XNU/MacOS kernel are listed here:
https://github.com/opensource-apple/xnu/blob/10.10/bsd/kern/trace.codes
I don't know what BSC means vs. MSC (maybe someone else can answer that?) but it appears to me that MSC is a generic low level event message trap such as MSC_mach_msg_trap, while BSC is more specific high level events such as BSC_gettimeofday.

Related

Can I add certain colors to bar graphs in order to illustrate frequency of the data point on octave?

I would like to customize my histogram to show an array of colors that refer to the frequency of that value. Essentially, if there are 6 times a value appears I would like it to be bright red, vs 2 times a value appears it would be dark red. Is there a way to assign colors to each bar graph manually, or perhaps a way the program automatically assigns colors based on the frequency the data point appears.
I'm willing to also keep colorization of my graph to be similar to the color bar attached in the image below.
I haven't been able to find a walkthrough that details what I'm looking for. I am very green with the Octave app and am not great at navigating it without explicit instruction. Thank you for the help!

Why I see red crossed marked messages on CAN trace in CANoe?

enter image description hereenter image description here
here is the image. When I run CANoe for my configuration, I see some messages are red crossed visually. I don't know why it is? But it doesn't block my work, everything seems working fine. What is the meaning of such representations on CAN trace?
Thanks!
There was CAN2 present in my simulation setup which I do not use anymore, so when I use channel 2 to listen to another bus, messages coming in channel 2 shows the small red marks. Therefore, I removed the unused CAN2 from my simulation and all these small red marks are now gone.. I found it just today. thanks.

What is the timeline meaning in system trace instrument

When i profile using system trace instrument. There is always three lines for every thread. So what does the red and blue line mean?
System calls are the red capsules, virtual memory faults appear as the blue capsules. The grey bar with the annotations "Blocked" and "Running" represents the thread state.
There's a WWDC session that explains https://developer.apple.com/videos/play/wwdc2016/411

Any way to control the Quad LED individually in iOS swift?

iPhones now have four LEDs to produce the flash light.
I want to programatically turn each LED on or off to produce different light effects, or even just specify the balance between pink LEDs and white leds.
Any way to have a tighter control on those in swift ?
Digging the API didn't show much...
Thanks !!

Radio environment visualization in cooja

What does a red arrow from one mote to another in cooja simulator means? Generally radio traffic is shown in the form of blue arrows, what does a red arrow signifies? In my case one of my motes in the simulation is not receiving any incoming ip packets after this event. I am using contiki-2.7
To follow your example, a red arrow means that the node n°2 sent a message which is likely to be received by the node n°1.
In other words, the node n°1 is in the range of the node n°2, but that doesn't mean that it has successfully received the message (maybe because the radio was off at this moment or anything else).
If you had an ACK mechanisms in your protocol, you should be able to see that a message is correctly received by one node by seeing a double arrow in the network view.
You may also want to turn the timeline on (tools -> timeline) in order to see information about TX - Rx status of each nodes.
Regards,
Citation: Two simultaneous transmissions to a node, which results in radio interference,
is shown in red. Source article for reference

Resources