Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 02 May 2006 20:04:14 +0200
From: Michal Luczaj <regenrecht@...pl>
To:  john-users@...ts.openwall.com
Subject: Re: MinGW build

Solar Designer wrote:
>> "The return value [of times()] is the calling process' CPU time (_the
>> same value you get from clock()_. times returns (clock_t)(-1) to
>> indicate failure."
> Yes, the glibc documentation appears to be wrong in this respect.

On the same page of manual:

"The times function returns information about a process' consumption of
processor time in a struct tms object, _in addition_ to the process' CPU
time."

As stated above: processor time is stored in a struct while process' CPU
time is a return value of function. Does it make sense now?

>> What is more, after running --test, it seemed that everything was fine:
>> Benchmarking: Traditional DES [64/64 BS MMX]... DONE
>> Many salts:     593832 c/s real, 596535 c/s virtual
>> Only one salt:  538966 c/s real, 548912 c/s virtual
> Yes, this does look realistic.  Can you please try running two instances
> simultaneously to see how the numbers will change?

Here we go...

Many salts:     280809 c/s real, 284930 c/s virtual
Only one salt:  261091 c/s real, 266839 c/s virtual

Many salts:     293709 c/s real, 301609 c/s virtual
Only one salt:  256117 c/s real, 264183 c/s virtual

michal

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.