Joel VanLaven a �crit dans le message : 3767E18A.1904F5AF@acm.org... > I wrote a program as an assignment for an algorithms class in > Ada95 that builds and operates on a variety of double-ended priority > queues. I am supposed to time certain operations (the build then the > sum of the subsequent iterations of operations). I am trying to use > ada.real_time (rather than using some OS feature). Problem is on my > Windows98 PC using Gnat 3.11p I seem to be getting completely bogus and > useless times. (granularity of at best 1/100 of a second though it looks > more like 1/10 of a second) > This is true in GNAT 3.11 where the clock is implemented with standard Windows timing function. In GNAT 3.12 the clock is implemented using a high resolution counter, this gives the clock a resolution of about 1 micro-sec. Pascal.