I have written a C++ program to compress and decompress jp2k files. But when I am executing this program the CPU usage is 100%... Can any one tell me :
why is it so and
how to reduce CPU usage?
I have compiled same code on windows and Linux platform But CPU usage is 100 % on linux and 50 % on Windows.