Hi all!
I assume you're not in C/C++ ? There you could get the times you want
with the GetProcessTimes() API. I don't think that theres a ready to use
programm like /bin/time for this, but it should't be too hard to write
something like this.
Cheers, Markus
Martin Sebor <mailto:sebor@roguewave.com> wrote:
> author="Farid Zaripov-2">
>> -----Original Message-----
>> From: Martin Sebor [mailto:sebor@roguewave.com]
>> Sent: Thursday, November 22, 2007 2:19 AM
>> To: stdcxx-dev@incubator.apache.org
>> Subject: [PING] Re: library and build sizes on Windows
>>
>> So would be it possible to change the Windows build
>> infrastructure to spit out the date and time in the same format as
>> on UNIX? I.e.,
>>
>> ### date:
>> Wed Oct 31 09:38:50 UTC 2007
>>
>> Including the "### date:" part. The exact format of the
>> timestamp itself doesn't have to be exactly the same just as
>> long as it includes the time as well as the date, and it's
>> all on the same line.
>
> Done: http://svn.apache.org/viewvc?rev=598697&view=rev
>
> Farid.
>
>
>
> I've been doing some work on the test result scripts over the weekend
> and noticed a whole bunch of places where we print out the date on
> Windows (I counted 12). I dealt with it by trimming all but the first
> one from the log when processing it but we should probably get rid of
> all the extra dates and either replace them with the same output as on
> UNIX if possible (i.e., real, user, ans system times) or just the real
> time. Can this be done on Windows?
>
> Martin
--
5. Dezember 2007
Salomon Automation am Schweizer Forum fur Logistik, Lausanne, CH
Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz
|