The prof:report timing elements will show milliseconds as part of the
value. For example:
prof:value('xdmp:estimate(doc())')
=>
<prof:report xsi:schemaLocation="http://marklogic.com/xdmp/profile
profile.xsd" xmlns:prof="http://marklogic.com/xdmp/profile"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<prof:metadata>
<prof:overall-elapsed>PT0.000597S</prof:overall-elapsed>
<prof:created>2010-03-30T10:10:49.604556-07:00</prof:created>
<prof:server-version>4.1-5</prof:server-version>
</prof:metadata>
<prof:histogram>
<prof:expression>
<prof:expr-id>5625991802427007935</prof:expr-id>
<prof:count>1</prof:count>
<prof:shallow-time>PT0.000032S</prof:shallow-time>
<prof:deep-time>PT0.000032S</prof:deep-time>
</prof:expression>
</prof:histogram>
</prof:report>
30000
So it sounds like you are measuring something that is either
instantaneous, or is below the system clock threshold. It might be
easier for someone to help if you were more explicit about what you are
doing.
-- Mike
On 2010-03-30 06:24, mano m wrote:
Hi,
I have used prof:value to execute the profile report for my XQY module. The
prof:report returns shallow-time and deep-time as “0”.
<prof:shallow-time>PT0S</prof:shallow-time>
<prof:deep-time>PT0S</prof:deep-time>
I understood that the both times are displayed in seconds, can anyone help me
to change it to display the above times in milliseconds.
Moreover, I need explanation for line and count node in prof:report.
<prof:line>3</prof:line>
<prof:count>0</prof:count>
Regards,
Mano
________________________________
________________________________
Your Mail works best with the New Yahoo Optimized IE8. Get it
NOW!<http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/>.
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general