[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: broken clock() in i386 2.6-beta




> I need to time how long specific functions of one of my c++ programs for
> class is taking.

> Anyone have any ideas? Can I use something other than clock() to end up
> with how many ms it takes to build the dictionary?

are you sure that the dictionary is actually getting built?  it may actually
be taking no time (that's happened to me before).

also, if you want to be more accurate, you may want to move the first cout
to just before the second.

tb