C
Carson
Hi,
I am now writing a c-code, which is extremely computational extensive.
My computer is 2.8GHz Pentium (supports hyperthreading), using cygwin cc
(latest version) to compile with the followings:
cc -c -O3 -mcpu=i686 $(FLIST)
when i run my program, (a.out), it takes a quite a bit of time to finish,
(around 2 hours each run, I need to run through many test cases.)
And i notice that my cpu load is only ~50% when my program is running.
is it possible to do some tricks on cc so that my code will use HT during
runtime?
Thanks.
Carson
I am now writing a c-code, which is extremely computational extensive.
My computer is 2.8GHz Pentium (supports hyperthreading), using cygwin cc
(latest version) to compile with the followings:
cc -c -O3 -mcpu=i686 $(FLIST)
when i run my program, (a.out), it takes a quite a bit of time to finish,
(around 2 hours each run, I need to run through many test cases.)
And i notice that my cpu load is only ~50% when my program is running.
is it possible to do some tricks on cc so that my code will use HT during
runtime?
Thanks.
Carson