This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC's trunk, it is necessary to improve the timings from gprof/gcc -pg.


2007/5/16, J.C. Pizarro <jcpiza@gmail.com> wrote:
For instance, this tuple stored in the memory's cell of the user
process gives an idea

* number of quantum's subcontext: long64
* moment of time that the subcontext started: long64 (CPU cycles, from RDTSC)
* (optional) moment .... subcontext started: uint32 (Unix's seconds from 1970)
* etc.
	
I'm sorry, i forgot to put the fields of the finished moments of the previous
subcontext (or last subcontext).

* number of quantum's subcontext: long64
* moment of time that the subcontext started: long64 (CPU cycles, from RDTSC)
* moment of time that the subcontext finished: long64 (CPU cycles, from RDTSC)
* (optional) moment .... subcontext started: uint32 (Unix's seconds from 1970)
* (optional) moment .... subcontext finished: uint32 (Unix's seconds from 1970)
* etc.

Note: to request the seconds from 1970 of timer clock can be slow (or not) when
the things are measured in nanoseconds, so that by a design decision, it is
possible not to recommend the use of this slow request.

Sincerely yours, J.C.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]