I'm tempted to try to explain this as a cout formatting problem, since
it would be very unusual for time to be flowing backwards in Ruby,
especially by billions of cycles. Can you try printf("%lld\n",mcycles); ?
Regards,
Dan
Carole-Jean Wu wrote:
I am using
cout
to print
On Wed, Feb 27, 2008 at 2:57 PM, Dan Gibson <degibson@xxxxxxxx
<mailto:degibson@xxxxxxxx>> wrote:
Time is typedef'd as an int64, so it shouldn't be overflowing until
values start to get to the 2^63 range. How are you printing the
values?
Regards,
Dan
Carole-Jean Wu wrote:
> Hello Dan,
>
> They are not continuously decreasing. For example, it will go up to
> 3x10^9 or a bit more, then a while later (at my next sample
interval),
> it becomes in the order of 10^8, and etc. Is it possible that
there is
> an overflow in the counter that holds ruby cycles?
>
>
> Thanks for your quick response,
> Carole
>
> On Wed, Feb 27, 2008 at 2:46 PM, Dan Gibson <degibson@xxxxxxxx
<mailto:degibson@xxxxxxxx>
> <mailto:degibson@xxxxxxxx <mailto:degibson@xxxxxxxx>>> wrote:
>
> Are they decreasing? That would be very unusual indeed.
>
> Carole-Jean Wu wrote:
> > Hello,
> >
> > In ruby/system/Sequencer.C, I am getting ruby cycles from
> >
> > Time mcycles = g_eventQueue_ptr->getTime(); however, the ruby
> cycles I
> > am getting are not monotonically increasing. Does anyone
know what
> > causes this problem?
> >
> >
> >
> > Thanks,
> > Carole
> >
>
------------------------------------------------------------------------
> >
> > _______________________________________________
> > Gems-users mailing list
> > Gems-users@xxxxxxxxxxx <mailto:Gems-users@xxxxxxxxxxx>
<mailto:Gems-users@xxxxxxxxxxx <mailto:Gems-users@xxxxxxxxxxx>>
> > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> > Use Google to search the GEMS Users mailing list by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/" to your
search.
> >
> >
>
> --
> http://www.cs.wisc.edu/~gibson
<http://www.cs.wisc.edu/%7Egibson> <http://www.cs.wisc.edu/%7Egibson>
> [esc]:wq!
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx <mailto:Gems-users@xxxxxxxxxxx>
<mailto:Gems-users@xxxxxxxxxxx <mailto:Gems-users@xxxxxxxxxxx>>
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/" to your
search.
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx <mailto:Gems-users@xxxxxxxxxxx>
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
"site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>
>
--
http://www.cs.wisc.edu/~gibson <http://www.cs.wisc.edu/%7Egibson>
[esc]:wq!
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx <mailto:Gems-users@xxxxxxxxxxx>
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding
"site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
------------------------------------------------------------------------
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
--
http://www.cs.wisc.edu/~gibson [esc]:wq!
|