Hello,

I faced a problem with rpns() using.

I need to print out the time (ticks) in some places of my application. When
the Tick is less than 32 bits it's ok. I am using:

printf("tick %lu\n", rpns());

But when it's bigger I get a strange value. For uint64_t printing I try to use:

printf("tick %"PRIu64"\n", rpns());

The value does not correspond to this one from main terminal if I put the
m5_exit immediately after the printf:

"Exiting @ tick 3372036854775807 because simulate() limit reached"

I compile my application with arm-linux-gnueabi-gcc.

What can be the problem?

Thanks

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to