If you are talking about Bitcoin then CPU mining is not profitable and it never was. Bitcoin mining has become more complicated and current CPUs don’t have enough power to mine Bitcoin. So, if you want to mine bitcoin then you must have an ASIC and a reasonable power source, or it will be very difficult for you to make a profit from Bitcoin.