22
edits
| Line 144: | Line 144: | ||
{ | { | ||
micros: 100, | micros: 100, | ||
weight: 2, | weight: 2, | ||
stack: [ | stack: [ | ||
| Line 159: | Line 158: | ||
<dt>micros | <dt>micros | ||
<dd>This is the time at which the sample was taken (in microseconds). | <dd>This is the time at which the sample was taken (in microseconds). | ||
<dt>weight | <dt>weight | ||
<dd>Due to the way sampling is currently implemented, time spent in native C++ functions prevent samples from being taken. For this reason, the time is attributed to the next sample. Hence this weight indicates how many samples were deferred to this stack trace. | <dd>Due to the way sampling is currently implemented, time spent in native C++ functions prevent samples from being taken. For this reason, the time is attributed to the next sample. Hence this weight indicates how many samples were deferred to this stack trace. | ||
<dt>stack | <dt>stack | ||
<dd> | <dd>This will be a non-empty array with the stack trace at the time of the sample. The first function is the top of the stack and each subsequent function called the previous function. The 'function' field describes where the function was defined, and the 'site' field describes where the function is currently executing. | ||
</dl> | </dl> | ||
edits