@likage - Run them multiple times and average the results. With file operations involved, you are bound to have variation.
On Wed, Jul 8, 2015 at 4:00 PM Kurian O.S <[email protected]> wrote: > And remember Justin is always right :D > Just a roll of the dice, actually. > > On Tue, Jul 7, 2015 at 8:59 PM, Kurian O.S <[email protected]> wrote: > >> There will be slight difference always based on the cpu usage, even like >> you have a vlc player playing can make a huge difference in the results :). >> >> On Tue, Jul 7, 2015 at 8:55 PM, likage <[email protected]> wrote: >> >>> Thanks guys, that is what I am looking for :D >>> >>> Will take a look into Maya API though it may take me a while to digest >>> it since I am not at all familiar with it. >>> >>> I have a question though. >>> >>> While using the 2 methods as suggested by Justin and Kurlan, the output >>> results that I have obtained from both methods are slightly different. >>> Justin's method gave me 44.0617549419 while Kurlan's method gave me >>> 44.7263860703 >>> >>> Though the difference is very minor, was wondering if anyone could tell >>> me why is there a 0.7 gap? I am pretty curious in it seeing that the coding >>> for both method is almost the same... >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Python Programming for Autodesk Maya" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/996f39be-dbb6-400c-a2bb-e3394cbdc6d8%40googlegroups.com >>> <https://groups.google.com/d/msgid/python_inside_maya/996f39be-dbb6-400c-a2bb-e3394cbdc6d8%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> --:: Kurian ::-- >> > > > > -- > --:: Kurian ::-- > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CANEMyhO_P7i89mpZ_d0nvV5QwmayOn%3DM%3DX%3D9%3DideGYvmnJGcfg%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhO_P7i89mpZ_d0nvV5QwmayOn%3DM%3DX%3D9%3DideGYvmnJGcfg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA05QZiUys%2BS%3DUOZmjw%2BOujkkruQdjGoxs_JA3OttjVrPg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
